Mercurial > evolve
comparison hgext/evolve.py @ 690:929d7617a13d stable
prune: more command switch idea
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Mon, 04 Feb 2013 19:04:22 +0100 |
parents | d48aae167b9d |
children | 6e63b4185a5c |
comparison
equal
deleted
inserted
replaced
689:d48aae167b9d | 690:929d7617a13d |
---|---|
1240 @command('^prune|obsolete|kill', | 1240 @command('^prune|obsolete|kill', |
1241 [('n', 'new', [], _("successor changeset (DEPRECATED)")), | 1241 [('n', 'new', [], _("successor changeset (DEPRECATED)")), |
1242 ('s', 'succ', [], _("successor changeset")), | 1242 ('s', 'succ', [], _("successor changeset")), |
1243 ('r', 'rev', [], _("revisions to prune"))], | 1243 ('r', 'rev', [], _("revisions to prune"))], |
1244 _('[OPTION] [-r] REV...')) | 1244 _('[OPTION] [-r] REV...')) |
1245 # -d --date | |
1246 # -u --user | |
1247 # -U --noupdate option to prevent wc update and or bookmarks update ? | |
1245 def cmdprune(ui, repo, *revs, **opts): | 1248 def cmdprune(ui, repo, *revs, **opts): |
1246 """get rid of changesets by marking them obsolete | 1249 """get rid of changesets by marking them obsolete |
1247 | 1250 |
1248 Obsolete changesets becomes invisible to all commands. | 1251 Obsolete changesets becomes invisible to all commands. |
1249 | 1252 |