[PATCH 3 of 3] debugbuilddag: build a changelog dag from a concise description
mpm at selenic.com
Thu Feb 11 16:35:48 CST 2010
On Thu, 2010-02-11 at 23:02 +0100, Peter Arrenbrecht wrote:
> # HG changeset patch
> # User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
> # Date 1265925643 -3600
> debugbuilddag: build a changelog dag from a concise description
> Useful in tests to quickly build a complex DAG in an empty repo.
> Handles local tags and named branches.
> Options to, at each rev,
> - create a new file,
> - overwrite the same file,
> - append to the same file,
> - write to a specific line in a mergeable file.
> Can run shell commands during DAG buildup.
Ideally, I'd like a version that runs with no args. The -a variant broke
> + if not (mergeable_file or appended_file or overwritten_file or new_file):
> + raise Exception(_('need at least one of -m, -a, -o, -n'))
Also, several new check-code complaints from this code.
http://selenic.com : development and support for Mercurial and Linux
More information about the Mercurial-devel