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

RE: [TSVN] TortoiseSVN - FAQ

From: Lübbe Onken <l.onken_at_rac.de>
Date: 2005-01-26 08:46:10 CET

Rainer wrote:

> Dan Novak wrote:
> > User: Dan Novak, mailto:xhiris@yahoo.com
> > Categories: Daily use
> >
> > Is there a simple way to migrate dated files into Subversion?
> >
> > We have several versions of project files, but want only the latest
> > version of each file \"active\". We still want access to the older
> > files in case we need to compare them.
> >
> > In order words, how can we take a set of files that have
> never been in
> > Subversion, and \"fake\" like they always have been?
>
> * create a repository
> * checkout a working copy
> * copy the first version of your files into this WC, commit
Run 'svn propset --revprop -r 1 svn:date "Date you want the revision to
have"
> * copy the second version, commit
Run 'svn propset --revprop -r 2 svn:date "Date you want the revision to
have"
> * copy the third version, commit
Run 'svn propset --revprop -r 3 svn:date "Date you want the revision to
have"
> ...
...

Yes that would work, but all dates would be set to the commit time. If you
want to keep the filedates, you have to install a pre-revprop-change hook on
the server that allows setting the svn:date property on a revision.

Cheers
- Lübbe

--
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jan 26 08:47:19 2005

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.