##// END OF EJS Templates
document changelog format
Benoit Boissinot -
r3077:ad6aecaf default
parent child Browse files
Show More
@@ -16,6 +16,14 b' class changelog(revlog):'
16 defversion)
16 defversion)
17
17
18 def extract(self, text):
18 def extract(self, text):
19 """
20 format used:
21 nodeid\n : manifest node in ascii
22 user\n : user, no \n or \r allowed
23 time tz\n : date (time is int or float, timezone is int)
24 files\n\n : files modified by the cset, no \n or \r allowed
25 (.*) : comment (free text, ideally utf-8)
26 """
19 if not text:
27 if not text:
20 return (nullid, "", (0, 0), [], "")
28 return (nullid, "", (0, 0), [], "")
21 last = text.index("\n\n")
29 last = text.index("\n\n")
General Comments 0
You need to be logged in to leave comments. Login now