bookmarks: escape literal backslashes in docstring
authorMartin Geisler <mg@daimi.au.dk>
Tue, 17 Feb 2009 23:58:56 +0100
changeset 7789 e8d62d6133c2
parent 7788 0896c008cb52
child 7790 1817e45c2212
bookmarks: escape literal backslashes in docstring
hgext/bookmarks.py
--- 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.