Mercurial > hgsubversion
diff fetch_command.py @ 237:c90cfa665b81
Cope with date-less revisions.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 08 Apr 2009 13:07:23 +0200 |
parents | 33e885f5f86a |
children | e2214c8fc91f |
line wrap: on
line diff
--- a/fetch_command.py +++ b/fetch_command.py @@ -586,8 +586,8 @@ def stupid_svn_server_pull_rev(ui, svn, break if not is_closed: deleted_branches[branch] = branchtip - date = r.date.replace('T', ' ').replace('Z', '').split('.')[0] - date += ' -0000' + + date = hg_editor.fixdate(r.date) check_deleted_branches = set() for b in branches: parentctx = hg_editor.repo[hg_editor.get_parent_revision(r.revnum, b)]