##// END OF EJS Templates
changegroup: introduce safeversion()...
changegroup: introduce safeversion() In a few places (at least repair.py and shelve.py), we want to find the best changegroup version that we can assume users of the repo will understand. For example, we choose version 01 by default, but if it's a generaldelta repo, we expect clients to support version 02 anyway, so we choose that for new bundles (for e.g. "hg strip"). Let's create a helper for this functionality in changegroup, so we can reuse it elsewhere later.

File last commit:

r17490:a03c3ba3 default
r27929:3b2ac211 stable
Show More
test-debugindexdot.t
25 lines | 435 B | text/troff | Tads3Lexer
/ tests / test-debugindexdot.t
timeless@mozdev.org
spelling: exercise
r17490 Just exercise debugindexdot
Pradeepkumar Gayam
tests: unify tests-debugindexdot
r11923 Create a short file history including a merge.
$ hg init t
$ cd t
$ echo a > a
$ hg ci -qAm t1 -d '0 0'
$ echo a >> a
$ hg ci -m t2 -d '1 0'
$ hg up -qC 0
$ echo b >> a
$ hg ci -m t3 -d '2 0'
created new head
$ HGMERGE=true hg merge -q
$ hg ci -m merge -d '3 0'
$ hg debugindexdot .hg/store/data/a.i
digraph G {
-1 -> 0
0 -> 1
0 -> 2
2 -> 3
1 -> 3
}
Mads Kiilerich
tests: add missing trailing 'cd ..'...
r16913
$ cd ..