comparison mercurial/commands.py @ 31798:2b130e26c3a4

commands: update help for "unbundle" Similar to the recent change to "bundle," this command no longer just deals with "changegroup" data.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 01 Apr 2017 13:43:52 -0700
parents 54b1af732415
children fde4822b0102
comparison
equal deleted inserted replaced
31797:54b1af732415 31798:2b130e26c3a4
5247 @command('unbundle', 5247 @command('unbundle',
5248 [('u', 'update', None, 5248 [('u', 'update', None,
5249 _('update to new branch head if changesets were unbundled'))], 5249 _('update to new branch head if changesets were unbundled'))],
5250 _('[-u] FILE...')) 5250 _('[-u] FILE...'))
5251 def unbundle(ui, repo, fname1, *fnames, **opts): 5251 def unbundle(ui, repo, fname1, *fnames, **opts):
5252 """apply one or more changegroup files 5252 """apply one or more bundle files
5253 5253
5254 Apply one or more compressed changegroup files generated by the 5254 Apply one or more bundle files generated by :hg:`bundle`.
5255 bundle command.
5256 5255
5257 Returns 0 on success, 1 if an update has unresolved files. 5256 Returns 0 on success, 1 if an update has unresolved files.
5258 """ 5257 """
5259 fnames = (fname1,) + fnames 5258 fnames = (fname1,) + fnames
5260 5259