5338 '"hg unbundle"'), |
5338 '"hg unbundle"'), |
5339 hint=_('use "hg debugapplystreamclonebundle"')) |
5339 hint=_('use "hg debugapplystreamclonebundle"')) |
5340 else: |
5340 else: |
5341 modheads = gen.apply(repo, 'unbundle', 'bundle:' + fname) |
5341 modheads = gen.apply(repo, 'unbundle', 'bundle:' + fname) |
5342 |
5342 |
5343 return postincoming(ui, repo, modheads, opts.get('update'), None, None) |
5343 return postincoming(ui, repo, modheads, opts.get(r'update'), None, None) |
5344 |
5344 |
5345 @command('^update|up|checkout|co', |
5345 @command('^update|up|checkout|co', |
5346 [('C', 'clean', None, _('discard uncommitted changes (no backup)')), |
5346 [('C', 'clean', None, _('discard uncommitted changes (no backup)')), |
5347 ('c', 'check', None, _('require clean working directory')), |
5347 ('c', 'check', None, _('require clean working directory')), |
5348 ('m', 'merge', None, _('merge uncommitted changes')), |
5348 ('m', 'merge', None, _('merge uncommitted changes')), |