[issue858] Changeset dates incorrect when converting a Subversion repository

David J. Mellor mercurial-bugs at selenic.com
Thu Dec 6 14:16:14 CST 2007


New submission from David J. Mellor <dmellor at whistlingcat.com>:

The code in hgext/convert/subversion.py that converts a Subversion ISO-8601
timestamp into a timestamp for a Mercurial changeset is incorrect - it always
drops the final whole second digit. For example, a timestamp of the form:

2007-11-06T11:29:16.384672Z

becomes the following when viewed in the hg log output for the corresponding
Mercuurial changeset:

Tue Nov 06 11:29:01 2007 -0000

Enclosed is a patch that fixes this issue.

----------
files: subversion.patch
messages: 4477
nosy: dmellor
priority: bug
status: unread
title: Changeset dates incorrect when converting a Subversion repository

____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue858>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: subversion.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20071206/384ecd2c/attachment.bin 


More information about the Mercurial-devel mailing list