##// END OF EJS Templates
phases: fast path public phase advance when everything is public...
marmoute -
r52301:330d7475 default
parent child Browse files
Show More
@@ -597,6 +597,8 b' class phasecache:'
597
597
598 Returns a set of revs whose phase is changed or should be changed
598 Returns a set of revs whose phase is changed or should be changed
599 """
599 """
600 if targetphase == public and not self.hasnonpublicphases(repo):
601 return set()
600 # Be careful to preserve shallow-copied values: do not update
602 # Be careful to preserve shallow-copied values: do not update
601 # phaseroots values, replace them.
603 # phaseroots values, replace them.
602 if revs is None:
604 if revs is None:
General Comments 0
You need to be logged in to leave comments. Login now