comparison hgext/convert/subversion.py @ 5921:549a7ebe1607

merge with crew-stable
author Thomas Arendsen Hein <thomas@intevation.de>
date Tue, 22 Jan 2008 00:55:01 +0100
parents 7c2921a60035 b6deda0f69fa
children c4496b7c10ce
comparison
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 = ''