comparison tests/test_fetch_symlinks.py @ 145:b37c401b7f92

hg_delta_editor: reset properties of deleted entries Otherwise, in case of entry replacement the properties are incorrectly inherited.
author Patrick Mezard <pmezard@gmail.com>
date Mon, 15 Dec 2008 21:57:10 -0600
parents 24a64fb0e74b
children d2ef7220a079
comparison
equal deleted inserted replaced
144:19aabf67c792 145:b37c401b7f92
19 self.assertFalse(r[f].data().startswith('link ')) 19 self.assertFalse(r[f].data().startswith('link '))
20 # Check symlinks in tip 20 # Check symlinks in tip
21 links = { 21 links = {
22 0: { 22 0: {
23 'linka': 'a', 23 'linka': 'a',
24 'linka2': 'a',
24 'd/linka': 'a', 25 'd/linka': 'a',
25 }, 26 },
26 1: { 27 1: {
27 'linkaa': 'a', 28 'linkaa': 'a',
29 'linka2': 'a',
28 'd2/linka': 'a', 30 'd2/linka': 'a',
29 }, 31 },
30 2: { 32 2: {
31 'linkaa': 'b', 33 'linkaa': 'b',
34 'linka2': 'a',
32 'd2/linka': 'b', 35 'd2/linka': 'b',
33 }, 36 },
34 3: { 37 3: {
35 }, 38 },
36 } 39 }