##// END OF EJS Templates
merge.update: use `first` instead of direct indexing...
Pierre-Yves David -
r22822:7a06ad95 default
parent child Browse files
Show More
@@ -1041,7 +1041,7 b' def update(repo, node, branchmerge, forc'
1041
1041
1042 # get the max revision for the given successors set,
1042 # get the max revision for the given successors set,
1043 # i.e. the 'tip' of a set
1043 # i.e. the 'tip' of a set
1044 node = repo.revs("max(%ln)", successors)[0]
1044 node = repo.revs("max(%ln)", successors).first()
1045 pas = [p1]
1045 pas = [p1]
1046
1046
1047 overwrite = force and not branchmerge
1047 overwrite = force and not branchmerge
General Comments 0
You need to be logged in to leave comments. Login now