mercurial/changegroup.py
changeset 43798 888bd39ed555
parent 43551 313e3a279828
child 43976 6d2b5c4efdae
equal deleted inserted replaced
43797:c8e9a3636abe 43798:888bd39ed555
   434             if phaseall is not None:
   434             if phaseall is not None:
   435                 phases.advanceboundary(repo, tr, phaseall, cgnodes)
   435                 phases.advanceboundary(repo, tr, phaseall, cgnodes)
   436 
   436 
   437             if changesets > 0:
   437             if changesets > 0:
   438 
   438 
   439                 def runhooks():
   439                 def runhooks(unused_success):
   440                     # These hooks run when the lock releases, not when the
   440                     # These hooks run when the lock releases, not when the
   441                     # transaction closes. So it's possible for the changelog
   441                     # transaction closes. So it's possible for the changelog
   442                     # to have changed since we last saw it.
   442                     # to have changed since we last saw it.
   443                     if clstart >= len(repo):
   443                     if clstart >= len(repo):
   444                         return
   444                         return