equal
deleted
inserted
replaced
333 wlock.release() |
333 wlock.release() |
334 |
334 |
335 def updatedir(ui, repo, patches, similarity=0): |
335 def updatedir(ui, repo, patches, similarity=0): |
336 '''Update dirstate after patch application according to metadata''' |
336 '''Update dirstate after patch application according to metadata''' |
337 if not patches: |
337 if not patches: |
338 return |
338 return [] |
339 copies = [] |
339 copies = [] |
340 removes = set() |
340 removes = set() |
341 cfiles = patches.keys() |
341 cfiles = patches.keys() |
342 cwd = repo.getcwd() |
342 cwd = repo.getcwd() |
343 if cwd: |
343 if cwd: |