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

Re: VSS to SVN migration script

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-05-19 05:09:24 CEST

Steve Williams wrote:

>Thanks for the script. I'm looking at migrating a large repository from VSS
>to SVN in the near future. One item I was a little confused about was the
>requirement for the setdates option.
>
>Using this also requires the "pre-revprop-change" Hook Script to be set; see
>http://svnbook.red-bean.com/svnbook/ch05s02.html#svn-ch-5-sect-2.1
>
>What does it need to be set to? Does the hook have to do anything in
>particular?
>
>Sly
>
>
Hello Steve, please send questions to the mailing list so everyone can
benefit from the discussion.

It doesn't matter what the "pre-revprop-change" script is set to, as
long as it returns a non-error (zero) exit code. I just created an empty
script ("pre-revprop-change.bat" on Windows machines). You should
probably remove the script after you've completed the migration.

The point is that allowing arbitrary changes to un-versioned data (such
as the commit date) could cause loss of important information.
Subversion assumes that if you went to the trouble of creating the Hook
Script, you must understand the implications of this and will therefore
allow you to do it.

hope this helps,
toby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 19 05:09:59 2004

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