Mercurial > hg
comparison tests/test-revset.t @ 17753:69d5078d760d
revsets: add branchpoint() function
The branchpoint() function returns changesets with more than one child.
Eventually I would like to be able to see only branch points and merge
points in a graphical log to see the topology of the repository.
author | Ivan Andrus <darthandrus@gmail.com> |
---|---|
date | Mon, 13 Aug 2012 21:50:45 +0200 |
parents | ee2370d866fc |
children | acd4577a568d |
comparison
equal
deleted
inserted
replaced
17752:76b73ce0ffac | 17753:69d5078d760d |
---|---|
330 5 | 330 5 |
331 $ log 'min(contains(a))' | 331 $ log 'min(contains(a))' |
332 0 | 332 0 |
333 $ log 'merge()' | 333 $ log 'merge()' |
334 6 | 334 6 |
335 $ log 'branchpoint()' | |
336 1 | |
337 4 | |
335 $ log 'modifies(b)' | 338 $ log 'modifies(b)' |
336 4 | 339 4 |
337 $ log 'modifies("path:b")' | 340 $ log 'modifies("path:b")' |
338 4 | 341 4 |
339 $ log 'modifies("*")' | 342 $ log 'modifies("*")' |
360 $ log 'p2(merge())' | 363 $ log 'p2(merge())' |
361 4 | 364 4 |
362 $ log 'parents(merge())' | 365 $ log 'parents(merge())' |
363 4 | 366 4 |
364 5 | 367 5 |
368 $ log 'p1(branchpoint())' | |
369 0 | |
370 2 | |
371 $ log 'p2(branchpoint())' | |
372 $ log 'parents(branchpoint())' | |
373 0 | |
374 2 | |
365 $ log 'removes(a)' | 375 $ log 'removes(a)' |
366 2 | 376 2 |
367 6 | 377 6 |
368 $ log 'roots(all())' | 378 $ log 'roots(all())' |
369 0 | 379 0 |