# HG changeset patch # User Benoit Boissinot # Date 1159552824 -7200 # Node ID 545b6d7185934d0980c201cce1da6feb9ae5b0a1 # Parent 37b53487c341004e4f35b3755db164ce02433b59 add remoteopts to bundle command diff -r 37b53487c341 -r 545b6d718593 mercurial/commands.py --- 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,