hgext/convert/p4.py
branchstable
changeset 16514 363e808de349
parent 12891 b69fd38a034e
child 21758 c27a37678508
equal deleted inserted replaced
16513:aa252059a98f 16514:363e808de349
   117                 parents = [lastid]
   117                 parents = [lastid]
   118             else:
   118             else:
   119                 parents = []
   119                 parents = []
   120 
   120 
   121             date = (int(d["time"]), 0)     # timezone not set
   121             date = (int(d["time"]), 0)     # timezone not set
   122             c = commit(author=self.recode(d["user"]), date=util.datestr(date),
   122             c = commit(author=self.recode(d["user"]),
       
   123                        date=util.datestr(date, '%Y-%m-%d %H:%M:%S %1%2'),
   123                        parents=parents, desc=desc, branch='',
   124                        parents=parents, desc=desc, branch='',
   124                        extra={"p4": change})
   125                        extra={"p4": change})
   125 
   126 
   126             files = []
   127             files = []
   127             i = 0
   128             i = 0