changeset 7789:e8d62d6133c2

bookmarks: escape literal backslashes in docstring
author Martin Geisler <mg@daimi.au.dk>
date Tue, 17 Feb 2009 23:58:56 +0100
parents 0896c008cb52
children 1817e45c2212
files hgext/bookmarks.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/bookmarks.py	Tue Feb 17 23:13:48 2009 +0800
+++ b/hgext/bookmarks.py	Tue Feb 17 23:58:56 2009 +0100
@@ -33,7 +33,7 @@
 def parse(repo):
     '''Parse .hg/bookmarks file and return a dictionary
 
-    Bookmarks are stored as {HASH}\s{NAME}\n (localtags format) values
+    Bookmarks are stored as {HASH}\\s{NAME}\\n (localtags format) values
     in the .hg/bookmarks file. They are read by the parse() method and
     returned as a dictionary with name => hash values.