##// END OF EJS Templates
phases: exclude secret when doing a local clone...
Pierre-Yves David -
r15888:2072e403 default
parent child Browse files
Show More
@@ -626,6 +626,10 b' class localrepository(repo.repository):'
626 626 def local(self):
627 627 return self
628 628
629 def cancopy(self):
630 return (repo.repository.cancopy(self)
631 and not self._phaseroots[phases.secret])
632
629 633 def join(self, f):
630 634 return os.path.join(self.path, f)
631 635
@@ -164,6 +164,17 b' But secret can still be bundled explicit'
164 164 4 changesets found
165 165 $ cd ..
166 166
167 Test secret changeset are not cloned
168 (during local clone)
169
170 $ hg clone -qU initialrepo clone-dest
171 $ hglog -R clone-dest
172 4 0 B'
173 3 0 D
174 2 0 C
175 1 0 B
176 0 0 A
177
167 178 Test revset
168 179
169 180 $ cd initialrepo
General Comments 0
You need to be logged in to leave comments. Login now