Mercurial > hg
view mercurial/templates/raw/map @ 15621:013688350c7d
bookmarks: update and updatecurrentbookmark return status
This makes bookmarks.update() and bookmarks.updatecurrentbookmark() return
True or False to indicate whether the bookmark was updated or not. This allows
callers to e.g. abort if the update failed.
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Wed, 16 Nov 2011 15:29:57 -0600 |
parents | 4788923a2b33 |
children | d490edc71146 |
line wrap: on
line source
mimetype = 'text/plain; charset={encoding}' header = '' footer = '' changeset = changeset.tmpl difflineplus = '{line}' difflineminus = '{line}' difflineat = '{line}' diffline = '{line}' changesetparent = '# Parent {node}' changesetchild = '# Child {node}' filenodelink = '' filenolink = '' fileline = '{line}' diffblock = '{lines}' filediff = filediff.tmpl fileannotate = fileannotate.tmpl annotateline = '{author|user}@{rev}: {line}' manifest = manifest.tmpl direntry = 'drwxr-xr-x {basename}\n' fileentry = '{permissions|permissions} {size} {basename}\n' index = index.tmpl notfound = notfound.tmpl error = error.tmpl indexentry = '{url}\n' tags = '{entries%tagentry}' tagentry = '{tag} {node}\n' bookmarks = '{entries%bookmarkentry}' bookmarkentry = '{bookmark} {node}\n' branches = '{entries%branchentry}' branchentry = '{branch} {node} {status}\n'