##// END OF EJS Templates
phases: replace magic number by constant...
Joerg Sonnenberger -
r45609:31f111d4 default draft
parent child Browse files
Show More
@@ -886,7 +886,7 b' def newcommitphase(ui):'
886
886
887 def hassecret(repo):
887 def hassecret(repo):
888 """utility function that check if a repo have any secret changeset."""
888 """utility function that check if a repo have any secret changeset."""
889 return bool(repo._phasecache.phaseroots[2])
889 return bool(repo._phasecache.phaseroots[secret])
890
890
891
891
892 def preparehookargs(node, old, new):
892 def preparehookargs(node, old, new):
General Comments 0
You need to be logged in to leave comments. Login now