Mercurial > hg > mercurial-crew
changeset 14847:400ba7cccbae
bookmarks: drop superfluous strip
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 06 Jul 2011 19:25:56 -0500 (2011-07-07) |
parents | 5097d8b5078c |
children | 09c9c120a817 |
files | mercurial/bookmarks.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/bookmarks.py +++ b/mercurial/bookmarks.py @@ -32,7 +32,7 @@ msg = _('malformed line in .hg/bookmarks: %r\n') repo.ui.warn( msg % line) continue - sha, refspec = line.strip().split(' ', 1) + sha, refspec = line.split(' ', 1) refspec = encoding.tolocal(refspec) try: bookmarks[refspec] = repo.changelog.lookup(sha)