##// END OF EJS Templates
infinitepush: don't wrap bundle2.processparts while calling `hg unbundle`...
Pulkit Goyal -
r37222:e5cd0ef5 default
parent child Browse files
Show More
@@ -869,6 +869,13 b' def _getorcreateinfinitepushlogger(op):'
869 return logger
869 return logger
870
870
871 def processparts(orig, repo, op, unbundler):
871 def processparts(orig, repo, op, unbundler):
872
873 # make sure we don't wrap processparts in case of `hg unbundle`
874 tr = repo.currenttransaction()
875 if tr:
876 if tr.names[0].startswith('unbundle'):
877 return orig(repo, op, unbundler)
878
872 if unbundler.params.get('infinitepush') != 'True':
879 if unbundler.params.get('infinitepush') != 'True':
873 return orig(repo, op, unbundler)
880 return orig(repo, op, unbundler)
874
881
General Comments 0
You need to be logged in to leave comments. Login now