##// END OF EJS Templates
bundle2: don't assume ordering of heads checked after push...
Mads Kiilerich -
r29294:077d0535 stable
parent child Browse files
Show More
@@ -1453,7 +1453,7 b' def handlecheckheads(op, inpart):'
1453 # Trigger a transaction so that we are guaranteed to have the lock now.
1453 # Trigger a transaction so that we are guaranteed to have the lock now.
1454 if op.ui.configbool('experimental', 'bundle2lazylocking'):
1454 if op.ui.configbool('experimental', 'bundle2lazylocking'):
1455 op.gettransaction()
1455 op.gettransaction()
1456 if heads != op.repo.heads():
1456 if sorted(heads) != sorted(op.repo.heads()):
1457 raise error.PushRaced('repository changed while pushing - '
1457 raise error.PushRaced('repository changed while pushing - '
1458 'please try again')
1458 'please try again')
1459
1459
General Comments 0
You need to be logged in to leave comments. Login now