hgext/convert/subversion.py
changeset 5618 6e1a61b14bbf
parent 5554 2147a734dcf9
parent 5617 924fd86f0579
child 5698 b63ef7b1441c
equal deleted inserted replaced
5616:88ca3e0fb6e5 5618:6e1a61b14bbf
   608             self.paths[rev] = (paths, parents)
   608             self.paths[rev] = (paths, parents)
   609 
   609 
   610             # Example SVN datetime. Includes microseconds.
   610             # Example SVN datetime. Includes microseconds.
   611             # ISO-8601 conformant
   611             # ISO-8601 conformant
   612             # '2007-01-04T17:35:00.902377Z'
   612             # '2007-01-04T17:35:00.902377Z'
   613             date = util.parsedate(date[:18] + " UTC", ["%Y-%m-%dT%H:%M:%S"])
   613             date = util.parsedate(date[:19] + " UTC", ["%Y-%m-%dT%H:%M:%S"])
   614 
   614 
   615             log = message and self.recode(message)
   615             log = message and self.recode(message)
   616             author = author and self.recode(author) or ''
   616             author = author and self.recode(author) or ''
   617             try:
   617             try:
   618                 branch = self.module.split("/")[-1]
   618                 branch = self.module.split("/")[-1]