Show More
@@ -2249,8 +2249,7 b' def unbundle(ui, repo, fname, **opts):' | |||
|
2249 | 2249 | modheads = repo.addchangegroup(gen, 'unbundle', 'bundle:' + fname) |
|
2250 | 2250 | return postincoming(ui, repo, modheads, opts['update']) |
|
2251 | 2251 | |
|
2252 |
def update(ui, repo, node=None, |
|
|
2253 | branch=None): | |
|
2252 | def update(ui, repo, node=None, clean=False, branch=None): | |
|
2254 | 2253 | """update or merge working directory |
|
2255 | 2254 | |
|
2256 | 2255 | Update the working directory to the specified revision. |
@@ -2695,10 +2694,8 b' table = {' | |||
|
2695 | 2694 | (update, |
|
2696 | 2695 | [('b', 'branch', '', |
|
2697 | 2696 | _('checkout the head of a specific branch (DEPRECATED)')), |
|
2698 | ('m', 'merge', None, _('allow merging of branches (DEPRECATED)')), | |
|
2699 | ('C', 'clean', None, _('overwrite locally modified files')), | |
|
2700 | ('f', 'force', None, _('force a merge with outstanding changes'))], | |
|
2701 | _('hg update [-C] [-f] [REV]')), | |
|
2697 | ('C', 'clean', None, _('overwrite locally modified files'))], | |
|
2698 | _('hg update [-C] [REV]')), | |
|
2702 | 2699 | "verify": (verify, [], _('hg verify')), |
|
2703 | 2700 | "version": (version_, [], _('hg version')), |
|
2704 | 2701 | } |
General Comments 0
You need to be logged in to leave comments.
Login now