diff options
author | Lorry Tar Creator <lorry-tar-importer@baserock.org> | 2011-10-01 20:49:36 +0000 |
---|---|---|
committer | Lorry <lorry@roadtrain.codethink.co.uk> | 2012-09-27 13:27:51 +0000 |
commit | 921ced43c48c1d170452a7b251b94cc96ec8dd44 (patch) | |
tree | 3c4a89176ea67fe4c7bf7b375488361a823c95fa /mercurial/dagparser.py | |
parent | 9039c805b0a7e36220101323f82735f08a104b37 (diff) | |
download | mercurial-tarball-master.tar.gz |
Imported from /srv/lorry/lorry-area/mercurial-tarball/mercurial-1.9.3.tar.gz.HEADmercurial-1.9.3master
Diffstat (limited to 'mercurial/dagparser.py')
-rw-r--r-- | mercurial/dagparser.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/mercurial/dagparser.py b/mercurial/dagparser.py index 92bd4f0..e02faa5 100644 --- a/mercurial/dagparser.py +++ b/mercurial/dagparser.py @@ -268,8 +268,7 @@ def parsedag(desc): s += c i += 1 c = nextch() - raise util.Abort(_('invalid character in dag description: ' - '%s...') % s) + raise util.Abort(_("invalid character in dag description: %s...") % s) def dagtextlines(events, addspaces=True, @@ -437,9 +436,7 @@ def dagtext(dag, >>> dagtext([('n', (0, [-1])), ('a', 'ann'), ('n', (1, [0]))]) '+1 @ann +1' - >>> dagtext([('n', (0, [-1])), - ... ('a', 'my annotation'), - ... ('n', (1, [0]))]) + >>> dagtext([('n', (0, [-1])), ('a', 'my annotation'), ('n', (1, [0]))]) '+1 @"my annotation" +1' Commands: @@ -450,9 +447,7 @@ def dagtext(dag, >>> dagtext([('n', (0, [-1])), ('c', 'my command'), ('n', (1, [0]))]) '+1 !"my command" +1' - >>> dagtext([('n', (0, [-1])), - ... ('C', 'my command line'), - ... ('n', (1, [0]))]) + >>> dagtext([('n', (0, [-1])), ('C', 'my command line'), ('n', (1, [0]))]) '+1 !!my command line\\n+1' Comments: |