Show More
@@ -232,7 +232,7 b' def _calcmode(path):' | |||||
232 | mode = None |
|
232 | mode = None | |
233 | return mode |
|
233 | return mode | |
234 |
|
234 | |||
235 | _data = 'data 00manifest.d 00manifest.i 00changelog.d 00changelog.i' |
|
235 | _data = 'data 00manifest.d 00manifest.i 00changelog.d 00changelog.i phaseroots' | |
236 |
|
236 | |||
237 | class basicstore(object): |
|
237 | class basicstore(object): | |
238 | '''base class for local repository stores''' |
|
238 | '''base class for local repository stores''' | |
@@ -410,7 +410,7 b' class fncachestore(basicstore):' | |||||
410 |
|
410 | |||
411 | def copylist(self): |
|
411 | def copylist(self): | |
412 | d = ('data dh fncache' |
|
412 | d = ('data dh fncache' | |
413 | ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i') |
|
413 | ' 00manifest.d 00manifest.i 00changelog.d 00changelog.i phaseroots') | |
414 | return (['requires', '00changelog.i'] + |
|
414 | return (['requires', '00changelog.i'] + | |
415 | ['store/' + f for f in d.split()]) |
|
415 | ['store/' + f for f in d.split()]) | |
416 |
|
416 |
@@ -566,5 +566,26 b' Discovery locally secret changeset on a ' | |||||
566 | 2 0 a-C - 54acac6f23ab |
|
566 | 2 0 a-C - 54acac6f23ab | |
567 | 1 0 a-B - 548a3d25dbf0 |
|
567 | 1 0 a-B - 548a3d25dbf0 | |
568 | 0 0 a-A - 054250a37db4 |
|
568 | 0 0 a-A - 054250a37db4 | |
|
569 | $ cd .. | |||
|
570 | Test Clone behavior | |||
569 |
|
571 | |||
|
572 | A. Clone without secret changeset | |||
570 |
|
573 | |||
|
574 | 1. cloning non-publishing repository | |||
|
575 | ||||
|
576 | (Phase should be preserved° | |||
|
577 | ||||
|
578 | $ hg clone -U mu Tau | |||
|
579 | $ hgph -R Tau | |||
|
580 | 10 1 A-secret - 435b5d83910c | |||
|
581 | 9 0 a-H - 967b449fbc94 | |||
|
582 | 8 0 a-F - b740e3e5c05d | |||
|
583 | 7 0 a-E - e9f537e46dea | |||
|
584 | 6 0 n-B - 145e75495359 | |||
|
585 | 5 0 n-A - d6bcb4f74035 | |||
|
586 | 4 0 a-D - b555f63b6063 | |||
|
587 | 3 0 a-C - 54acac6f23ab | |||
|
588 | 2 0 b-A - f54f1bb90ff3 | |||
|
589 | 1 0 a-B - 548a3d25dbf0 | |||
|
590 | 0 0 a-A - 054250a37db4 | |||
|
591 |
General Comments 0
You need to be logged in to leave comments.
Login now