command: remove phase from the list of basic command
This is not a basic command. There is no reason new user should needs to know
about it. Thanks to Matt Mackall for pointing this.
--- a/mercurial/commands.py Sun Nov 25 20:39:37 2012 +0100
+++ b/mercurial/commands.py Wed Nov 28 11:20:56 2012 +0100
@@ -4495,7 +4495,7 @@
else:
ui.write("%s = %s\n" % (name, util.hidepassword(path)))
-@command('^phase',
+@command('phase',
[('p', 'public', False, _('set changeset phase to public')),
('d', 'draft', False, _('set changeset phase to draft')),
('s', 'secret', False, _('set changeset phase to secret')),
--- a/tests/test-alias.t Sun Nov 25 20:39:37 2012 +0100
+++ b/tests/test-alias.t Wed Nov 28 11:20:56 2012 +0100
@@ -350,7 +350,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
@@ -377,7 +376,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
@@ -404,7 +402,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
--- a/tests/test-commandserver.py.out Sun Nov 25 20:39:37 2012 +0100
+++ b/tests/test-commandserver.py.out Wed Nov 28 11:20:56 2012 +0100
@@ -26,7 +26,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
--- a/tests/test-debugcomplete.t Sun Nov 25 20:39:37 2012 +0100
+++ b/tests/test-debugcomplete.t Wed Nov 28 11:20:56 2012 +0100
@@ -201,7 +201,6 @@
init: ssh, remotecmd, insecure
log: follow, follow-first, date, copies, keyword, rev, removed, only-merges, user, only-branch, branch, prune, hidden, patch, git, limit, no-merges, stat, graph, style, template, include, exclude
merge: force, rev, preview, tool
- phase: public, draft, secret, force, rev
pull: update, force, rev, bookmark, branch, ssh, remotecmd, insecure
push: force, rev, bookmark, branch, new-branch, ssh, remotecmd, insecure
remove: after, force, include, exclude
@@ -261,6 +260,7 @@
outgoing: force, rev, newest-first, bookmarks, branch, patch, git, limit, no-merges, stat, graph, style, template, ssh, remotecmd, insecure, subrepos
parents: rev, style, template
paths:
+ phase: public, draft, secret, force, rev
recover:
rename: after, force, include, exclude, dry-run
resolve: all, list, mark, unmark, no-status, tool, include, exclude
--- a/tests/test-help.t Sun Nov 25 20:39:37 2012 +0100
+++ b/tests/test-help.t Wed Nov 28 11:20:56 2012 +0100
@@ -15,7 +15,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
@@ -37,7 +36,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
@@ -222,7 +220,6 @@
init create a new repository in the given directory
log, history show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove, rm remove the specified files on the next commit
@@ -536,7 +533,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
@@ -564,7 +560,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit
--- a/tests/test-strict.t Sun Nov 25 20:39:37 2012 +0100
+++ b/tests/test-strict.t Wed Nov 28 11:20:56 2012 +0100
@@ -29,7 +29,6 @@
init create a new repository in the given directory
log show revision history of entire repository or files
merge merge working directory with another revision
- phase set or show the current phase name
pull pull changes from the specified source
push push changes to the specified destination
remove remove the specified files on the next commit