[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Revisions with wrong chronologic order

From: Martin Furter <mf_at_rola.ch>
Date: 2007-04-11 19:42:35 CEST

Eli Carter wrote:
> Since the date is a revprop, you should be able to use the svndumptool
> transform-revprop command to change them.

Kylo Ginsberg wrote:
> echo `date -u +%Y-%m-%dT%H:%M:%S.%N | cut -c-26`Z

Those two combined:

svndumptool.py transform-revprop svn:date '.*' \
   `date -u +%Y-%m-%dT%H:%M:%S.%6NZ` input.svndmp output.svndmp

To see the differences use:

svndumptool.py diff input.svndmp output.svndmp

It will show lots of date differences like this one:

Revision: 1/1
+ Different RevDate:
     dump1: '(1176073746, 311144)'
     dump2: '(1176305686, 938567)'
+ Different RevDateStr:
     dump1: '2007-04-09T01:09:06.311144Z'
     dump2: '2007-04-11T17:34:46.938567Z'
     Property 'svn:date'
       dump1: '2007-04-09T01:09:06.311144Z'
       dump2: '2007-04-11T17:34:46.938567Z'


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Apr 11 19:43:08 2007

This is an archived mail posted to the Subversion Users mailing list.