##// END OF EJS Templates
test-contrib: add a test for shrink-revlog...
Augie Fackler -
r14033:33e04d3d default
parent child Browse files
Show More
@@ -104,6 +104,29 b' Compare repos:'
104 [1]
104 [1]
105
105
106
106
107 Test shrink-revlog:
108 $ cd repo-a
109 $ hg --config extensions.shrink=$CONTRIBDIR/shrink-revlog.py shrink
110 shrinking $TESTTMP/repo-a/.hg/store/00manifest.i
111 reading revs
112 sorting revs
113 writing revs
114 old file size: 324 bytes ( 0.0 MiB)
115 new file size: 324 bytes ( 0.0 MiB)
116 shrinkage: 0.0% (1.0x)
117 note: old revlog saved in:
118 $TESTTMP/repo-a/.hg/store/00manifest.i.old
119 $TESTTMP/repo-a/.hg/store/00manifest.d.old
120 (You can delete those files when you are satisfied that your
121 repository is still sane. Running 'hg verify' is strongly recommended.)
122 $ hg verify
123 checking changesets
124 checking manifests
125 crosschecking files in changesets and manifests
126 checking files
127 1 files, 3 changesets, 3 total revisions
128 $ cd ..
129
107 Test simplemerge command:
130 Test simplemerge command:
108
131
109 $ cp "$CONTRIBDIR/simplemerge" .
132 $ cp "$CONTRIBDIR/simplemerge" .
General Comments 0
You need to be logged in to leave comments. Login now