##// END OF EJS Templates
bookmarks: rename arguments/variables for source code readability...
FUJIWARA Katsunori -
r17667:2b6a795f default
parent child Browse files
Show More
@@ -237,15 +237,15 b' def updatefromremote(ui, repo, remote, p'
237 if changed:
237 if changed:
238 write(repo)
238 write(repo)
239
239
240 def diff(ui, repo, remote):
240 def diff(ui, dst, src):
241 ui.status(_("searching for changed bookmarks\n"))
241 ui.status(_("searching for changed bookmarks\n"))
242
242
243 lmarks = repo.listkeys('bookmarks')
243 smarks = src.listkeys('bookmarks')
244 rmarks = remote.listkeys('bookmarks')
244 dmarks = dst.listkeys('bookmarks')
245
245
246 diff = sorted(set(rmarks) - set(lmarks))
246 diff = sorted(set(smarks) - set(dmarks))
247 for k in diff:
247 for k in diff:
248 mark = ui.debugflag and rmarks[k] or rmarks[k][:12]
248 mark = ui.debugflag and smarks[k] or smarks[k][:12]
249 ui.write(" %-25s %s\n" % (k, mark))
249 ui.write(" %-25s %s\n" % (k, mark))
250
250
251 if len(diff) <= 0:
251 if len(diff) <= 0:
General Comments 0
You need to be logged in to leave comments. Login now