comparison tests/test_fetch_renames.py @ 68:e0c86ebe05e3

test_fetch_renames: test copy of deleted stuff from the past
author Patrick Mezard <pmezard@gmail.com>
date Wed, 05 Nov 2008 13:37:08 +0100
parents e319c9168910
children 63ece4ea25c9
comparison
equal deleted inserted replaced
67:e319c9168910 68:e0c86ebe05e3
40 repo = self._load_fixture_and_fetch('renames.svndump') 40 repo = self._load_fixture_and_fetch('renames.svndump')
41 # self._debug_print_copies(repo) 41 # self._debug_print_copies(repo)
42 42
43 # Map revnum to mappings of dest name to (source name, dest content) 43 # Map revnum to mappings of dest name to (source name, dest content)
44 copies = { 44 copies = {
45 3: { 45 4: {
46 'a1': ('a', 'a\n'), 46 'a1': ('a', 'a\n'),
47 'a2': ('a', 'a\n'), 47 'a2': ('a', 'a\n'),
48 'b1': ('b', 'b\nc\n'), 48 'b1': ('b', 'b\nc\n'),
49 'da1/daf': ('da/daf', 'c\n'), 49 'da1/daf': ('da/daf', 'c\n'),
50 'da1/db/dbf': ('da/db/dbf', 'd\n'), 50 'da1/db/dbf': ('da/db/dbf', 'd\n'),
51 'da2/daf': ('da/daf', 'c\n'), 51 'da2/daf': ('da/daf', 'c\n'),
52 'da2/db/dbf': ('da/db/dbf', 'd\n'), 52 'da2/db/dbf': ('da/db/dbf', 'd\n'),
53 }, 53 },
54 4: { 54 5: {
55 'c1': ('c', 'c\nc\n'), 55 'c1': ('c', 'c\nc\n'),
56 } 56 }
57 } 57 }
58 for rev in repo: 58 for rev in repo:
59 ctx = repo[rev] 59 ctx = repo[rev]