hgext/convert/subversion.py
changeset 5921 549a7ebe1607
parent 5913 7c2921a60035
parent 5916 b6deda0f69fa
child 5955 c4496b7c10ce
equal deleted inserted replaced
5915:d0576d065993 5921:549a7ebe1607
   644             # Example SVN datetime. Includes microseconds.
   644             # Example SVN datetime. Includes microseconds.
   645             # ISO-8601 conformant
   645             # ISO-8601 conformant
   646             # '2007-01-04T17:35:00.902377Z'
   646             # '2007-01-04T17:35:00.902377Z'
   647             date = util.parsedate(date[:19] + " UTC", ["%Y-%m-%dT%H:%M:%S"])
   647             date = util.parsedate(date[:19] + " UTC", ["%Y-%m-%dT%H:%M:%S"])
   648 
   648 
   649             log = message and self.recode(message)
   649             log = message and self.recode(message) or ''
   650             author = author and self.recode(author) or ''
   650             author = author and self.recode(author) or ''
   651             try:
   651             try:
   652                 branch = self.module.split("/")[-1]
   652                 branch = self.module.split("/")[-1]
   653                 if branch == 'trunk':
   653                 if branch == 'trunk':
   654                     branch = ''
   654                     branch = ''