changeset 940:1300271ba8de

Add in and out aliases
author mpm@selenic.com
date Wed, 17 Aug 2005 18:52:27 -0800
parents 6b735e0ddd81
children 4cf418c2a013 7eb8cbcca7c4 f15901d053e1 d997148155f2 5197fb9d65d5
files doc/hg.1.txt mercurial/commands.py
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/hg.1.txt	Wed Aug 17 18:41:04 2005 -0800
+++ b/doc/hg.1.txt	Wed Aug 17 18:52:27 2005 -0800
@@ -203,6 +203,8 @@
 
     Currently only local repositories are supported.
 
+    aliases: in
+
 init [dest]::
     Initialize a new repository in the given directory.  If the given
     directory does not exist, it is created.
@@ -262,6 +264,8 @@
     default push repo. These are the changesets that would be pushed
     if a push was requested.
 
+    aliases: out
+
 parents::
     Print the working directory's parent revisions.
 
--- a/mercurial/commands.py	Wed Aug 17 18:41:04 2005 -0800
+++ b/mercurial/commands.py	Wed Aug 17 18:52:27 2005 -0800
@@ -1312,7 +1312,7 @@
          [('p', 'strip', 1, 'path strip'),
           ('b', 'base', "", 'base path')],
          "hg import [-p NUM] [-b BASE] PATCH..."),
-    "incoming": (incoming, [], 'hg incoming [SOURCE]'),
+    "incoming|in": (incoming, [], 'hg incoming [SOURCE]'),
     "^init": (init, [], 'hg init [DEST]'),
     "locate":
         (locate,
@@ -1328,7 +1328,7 @@
           ('p', 'patch', None, 'show patch')],
          'hg log [-r REV1 [-r REV2]] [-p] [FILE]'),
     "manifest": (manifest, [], 'hg manifest [REV]'),
-    "outgoing": (outgoing, [], 'hg outgoing [DEST]'),
+    "outgoing|out": (outgoing, [], 'hg outgoing [DEST]'),
     "parents": (parents, [], 'hg parents [REV]'),
     "paths": (paths, [], 'hg paths [NAME]'),
     "^pull":