[PATCH] Tweaks to subrepository-related output
Martin Geisler
mg at lazybytes.net
Thu Jun 18 03:46:55 CDT 2009
Dan Villiom Podlaski Christiansen <danchr at gmail.com> writes:
> diff --git a/mercurial/commands.py b/mercurial/commands.py
> --- a/mercurial/commands.py
> +++ b/mercurial/commands.py
> @@ -2300,6 +2300,13 @@
> URLs. If DESTINATION is omitted, a default path will be used.
> See 'hg help urls' for more information.
> """
> + # push subrepos depth-first for coherent ordering
> + c = repo['']
> + subs = c.substate # only repos that are committed
> + for s in sorted(subs):
> + if opts.get('rev'): raise NotImplementedError()
I don't know why you raise this exception, but it should just be
NotImplementedError without the parenthesis.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
More information about the Mercurial-devel
mailing list