Mercurial > hg
changeset 3191:545b6d718593
add remoteopts to bundle command
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Fri, 29 Sep 2006 20:00:24 +0200 |
parents | 37b53487c341 |
children | 182bdd589cbe |
files | mercurial/commands.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Fri Sep 29 19:59:06 2006 +0200 +++ b/mercurial/commands.py Fri Sep 29 20:00:24 2006 +0200 @@ -761,6 +761,7 @@ contents including permissions, rename data, and revision history. """ dest = ui.expandpath(dest or 'default-push', dest or 'default') + setremoteconfig(ui, opts) other = hg.repository(ui, dest) o = repo.findoutgoing(other, force=opts['force']) cg = repo.changegroup(o, 'bundle') @@ -2730,7 +2731,8 @@ "bundle": (bundle, [('f', 'force', None, - _('run even when remote repository is unrelated'))], + _('run even when remote repository is unrelated')), + ] + remoteopts, _('hg bundle FILE DEST')), "cat": (cat,