tests/test-hg-parseurl.py.out
author Patrick Mezard <pmezard@gmail.com>
Sun, 13 Dec 2009 18:06:24 +0100
changeset 10061 9e2ab10728a2
parent 8174 29bc5d18714a
child 10365 d757bc0c7865
permissions -rw-r--r--
Make {file_copies} usable as a --template key Before this, to display file copies in templates, you had to write something like {file_copies%filecopy}. For some reason, the {file_copy} subtemplate was used by default but not defined by default in changeset_templater, while styles were already using it. Here we define {file_copy} in changeset_templater, and change the templater to handle formatting strings like {file_copies%filecopy} with already expanded keys (in this case {file_copies}), for backward compatibility.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
8174
29bc5d18714a hg: allow hg.parseurl(url, None)
Martijn Pieters <mj@zopatista.com>
parents:
diff changeset
     1
http://example.com/no/anchor, revs: None, checkout: None
29bc5d18714a hg: allow hg.parseurl(url, None)
Martijn Pieters <mj@zopatista.com>
parents:
diff changeset
     2
http://example.com/an/anchor, revs: ['foo'], checkout: 'foo'
29bc5d18714a hg: allow hg.parseurl(url, None)
Martijn Pieters <mj@zopatista.com>
parents:
diff changeset
     3
http://example.com/no/anchor/revs, revs: ['foo'], checkout: 'foo'
29bc5d18714a hg: allow hg.parseurl(url, None)
Martijn Pieters <mj@zopatista.com>
parents:
diff changeset
     4
http://example.com/an/anchor/revs, revs: ['foo', 'bar'], checkout: 'foo'
29bc5d18714a hg: allow hg.parseurl(url, None)
Martijn Pieters <mj@zopatista.com>
parents:
diff changeset
     5
http://example.com/an/anchor/rev-None, revs: ['foo'], checkout: 'foo'