# HG changeset patch # User mpm@selenic.com # Date 1124333547 28800 # Node ID 1300271ba8dee502315bb8a3391e57f33c7f371f # Parent 6b735e0ddd816d3912925f52a510240bdc7c665e Add in and out aliases diff -r 6b735e0ddd81 -r 1300271ba8de doc/hg.1.txt --- 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. diff -r 6b735e0ddd81 -r 1300271ba8de mercurial/commands.py --- 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":