| author | Helio Chissini de Castro <helio.chissini.de.castro@collabora.co.uk> | 2012-09-18 13:04:34 (GMT) |
|---|---|---|
| committer | Helio Chissini de Castro <helio.chissini.de.castro@collabora.co.uk> | 2012-09-18 13:04:34 (GMT) |
| commit | 0f4ac31c5c662105fcbe722978d3e8be56706852 (patch) (side-by-side diff) | |
| tree | 765439e2d7e7caba2cc7ccde5d4a204e0f2637ea | |
| parent | bb69356172d8582abcd71cedb7dca4399d4e0070 (diff) | |
| download | anagrman-0f4ac31c5c662105fcbe722978d3e8be56706852.tar.gz anagrman-0f4ac31c5c662105fcbe722978d3e8be56706852.tar.bz2 | |
Missing testcase where no specific repository exists, but still different branch is used. The generated file was not adding the branch.
| -rwxr-xr-x | anagrman | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -71,6 +71,7 @@ class CGitPlainXMLParser: fremote = i[1] if 'path' in i: path = i[1] + print name if name and revision and fremote: if projects.has_key( name ): if projects[name]['revision'] != revision: @@ -81,6 +82,8 @@ class CGitPlainXMLParser: projects[name] = {'revision':revision,'remote':fremote,'path':path} elif name and fremote: projects[name] = {'remote':fremote,'path':path} + elif name and revision: + projects[name] = {'revision':revision,'path':path} elif name: projects[name] = {'path':path} name = '' |
