##// END OF EJS Templates
findcopies: shortcut for empty working dir
Matt Mackall -
r3160:1839e6e9 default
parent child Browse files
Show More
@@ -133,6 +133,10 b' def findcopies(repo, m1, m2, limit):'
133 Find moves and copies between m1 and m2 back to limit linkrev
133 Find moves and copies between m1 and m2 back to limit linkrev
134 """
134 """
135
135
136 # avoid silly behavior for update from empty dir
137 if not m1:
138 return {}
139
136 dcopies = repo.dirstate.copies()
140 dcopies = repo.dirstate.copies()
137 copy = {}
141 copy = {}
138 match = {}
142 match = {}
General Comments 0
You need to be logged in to leave comments. Login now