Show More
@@ -370,6 +370,11 b' def reposetup(ui, repo):' | |||
|
370 | 370 | repo.__class__ = bookmark_repo |
|
371 | 371 | |
|
372 | 372 | def listbookmarks(repo): |
|
373 | # We may try to list bookmarks on a repo type that does not | |
|
374 | # support it (e.g., statichttprepository). | |
|
375 | if not hasattr(repo, '_bookmarks'): | |
|
376 | return {} | |
|
377 | ||
|
373 | 378 | d = {} |
|
374 | 379 | for k, v in repo._bookmarks.iteritems(): |
|
375 | 380 | d[k] = hex(v) |
General Comments 0
You need to be logged in to leave comments.
Login now