##// END OF EJS Templates
infinitepush: use bundleoperation.source instead of hacking on tr...
Pulkit Goyal -
r37256:40ee0af0 default
parent child Browse files
Show More
@@ -927,10 +927,8 b' def storetobundlestore(orig, repo, op, u'
927 def processparts(orig, repo, op, unbundler):
927 def processparts(orig, repo, op, unbundler):
928
928
929 # make sure we don't wrap processparts in case of `hg unbundle`
929 # make sure we don't wrap processparts in case of `hg unbundle`
930 tr = repo.currenttransaction()
930 if op.source == 'unbundle':
931 if tr:
931 return orig(repo, op, unbundler)
932 if tr.names[0].startswith('unbundle'):
933 return orig(repo, op, unbundler)
934
932
935 # this server routes each push to bundle store
933 # this server routes each push to bundle store
936 if repo.ui.configbool('infinitepush', 'pushtobundlestore'):
934 if repo.ui.configbool('infinitepush', 'pushtobundlestore'):
General Comments 0
You need to be logged in to leave comments. Login now