Mercurial > hgsubversion
comparison tests/test_push_dirs.py @ 85:05a0c4f6060f
push_cmd: consider only dirs with added/removed files for addition or deletion
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Fri, 14 Nov 2008 16:18:24 -0600 |
parents | 01e747937d35 |
children | 6ec5b5fc5b4d |
comparison
equal
deleted
inserted
replaced
84:01e747937d35 | 85:05a0c4f6060f |
---|---|
25 self.assertEqual(self.svnls('trunk'), | 25 self.assertEqual(self.svnls('trunk'), |
26 ['d1', 'd1/a', 'd2', 'd2/a', 'd2/b', 'd31', | 26 ['d1', 'd1/a', 'd2', 'd2/a', 'd2/b', 'd31', |
27 'd31/d32', 'd31/d32/a', 'd31/d32/d33', | 27 'd31/d32', 'd31/d32/a', 'd31/d32/d33', |
28 'd31/d32/d33/d34', 'd31/d32/d33/d34/a']) | 28 'd31/d32/d33/d34', 'd31/d32/d33/d34/a']) |
29 | 29 |
30 # Add one revision with changed files only, no directory addition | |
31 # or deletion. | |
32 changes = [ | |
33 ('d1/a', 'd1/a', 'aa\n'), | |
34 ('d2/a', 'd2/a', 'aa\n'), | |
35 ] | |
36 self.commitchanges(changes) | |
37 self.pushrevisions() | |
38 | |
30 changes = [ | 39 changes = [ |
31 # Remove single file in single directory | 40 # Remove single file in single directory |
32 ('d1/a', None, None), | 41 ('d1/a', None, None), |
33 # Remove one file out of two | 42 # Remove one file out of two |
34 ('d2/a', None, None), | 43 ('d2/a', None, None), |