comparison tests/test_fetch_command.py @ 1084:ca36d5915dc7

test_util: include Subversion revision when drawing a pretty graph
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Sun, 11 Aug 2013 22:20:59 +0200
parents 36a5fa6420a0
children 86ae03f889a4
comparison
equal deleted inserted replaced
1083:8087267d0805 1084:ca36d5915dc7
212 212
213 def test_fetch_revert(self): 213 def test_fetch_revert(self):
214 repo = self._load_fixture_and_fetch('revert.svndump') 214 repo = self._load_fixture_and_fetch('revert.svndump')
215 graph = self.getgraph(repo) 215 graph = self.getgraph(repo)
216 refgraph = """\ 216 refgraph = """\
217 o changeset: 3:937dcd1206d4 217 o changeset: 3:937dcd1206d4 (r4)
218 | branch: 218 | branch:
219 | tags: tip 219 | tags: tip
220 | summary: revert2 220 | summary: revert2
221 | files: a dir/b 221 | files: a dir/b
222 | 222 |
223 o changeset: 2:9317a748b7c3 223 o changeset: 2:9317a748b7c3 (r3)
224 | branch: 224 | branch:
225 | tags: 225 | tags:
226 | summary: revert 226 | summary: revert
227 | files: a dir/b 227 | files: a dir/b
228 | 228 |
229 o changeset: 1:243259a4138a 229 o changeset: 1:243259a4138a (r2)
230 | branch: 230 | branch:
231 | tags: 231 | tags:
232 | summary: changefiles 232 | summary: changefiles
233 | files: a dir/b 233 | files: a dir/b
234 | 234 |
235 o changeset: 0:ab86791fc857 235 o changeset: 0:ab86791fc857 (r1)
236 branch: 236 branch:
237 tags: 237 tags:
238 summary: init 238 summary: init
239 files: a dir/b 239 files: a dir/b
240 240
244 def test_fetch_movetotrunk(self): 244 def test_fetch_movetotrunk(self):
245 repo = self._load_fixture_and_fetch('movetotrunk.svndump', 245 repo = self._load_fixture_and_fetch('movetotrunk.svndump',
246 subdir='sub1/sub2') 246 subdir='sub1/sub2')
247 graph = self.getgraph(repo) 247 graph = self.getgraph(repo)
248 refgraph = """\ 248 refgraph = """\
249 o changeset: 0:02996a5980ba 249 o changeset: 0:02996a5980ba (r3)
250 branch: 250 branch:
251 tags: tip 251 tags: tip
252 summary: move to trunk 252 summary: move to trunk
253 files: a dir/b 253 files: a dir/b
254 254