comparison tests/test_fetch_renames.py @ 496:5e0dfe59d4c3

copies: fix under-reporting of copies in hg
author Augie Fackler <durin42@gmail.com>
date Fri, 16 Oct 2009 19:09:25 -0400
parents 3a9d6cd18332
children 5c8a48828ae9
comparison
equal deleted inserted replaced
495:44bde69b6c49 496:5e0dfe59d4c3
37 'c1': ('c', 'c\nc\n'), 37 'c1': ('c', 'c\nc\n'),
38 }, 38 },
39 9: { 39 9: {
40 'unchanged2': ('unchanged', 'unchanged\n'), 40 'unchanged2': ('unchanged', 'unchanged\n'),
41 'unchangeddir2/f': ('unchangeddir/f', 'unchanged2\n'), 41 'unchangeddir2/f': ('unchangeddir/f', 'unchanged2\n'),
42 } 42 },
43 10: {
44 'groupdir2/b': ('groupdir/b', 'b\n')
45 },
43 } 46 }
44 for rev in repo: 47 for rev in repo:
45 ctx = repo[rev] 48 ctx = repo[rev]
46 copymap = copies.get(rev, {}) 49 copymap = copies.get(rev, {})
47 for f in ctx.manifest(): 50 for f in ctx.manifest():