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

Post-Check Out Stealth Hook ?

From: <stevec_at_atomic9.net>
Date: 2006-03-13 16:17:25 CET


Using TortoiseSvn on Win32 (not that it matters, I think).

There are explicit filesystem paths set up in several .config files in the
repository. The paths are set to run on a development server - just export
from the repository and copy to the server and I'm done. However, the paths
are different for each developer that actually works on the files.

After a developer checks out the files, he does a global search-replace
occurs to set the .config files for the local system environment. However,
this marks the files "changed", so when a merge occurs, the developer
desktop-specific stuff ends up back in the tree. A bad thing. They end up
having to re-set the paths back (when they remember) before check-in.

Is there a post-checkout-hook for the client that could modify the files "by
stealth" so those changes could be applied without affecting SVN? I'm not
worried about other moodifications to the files, since there aren't any,
they only contain host-specific path information.



Received on Mon Mar 13 16:28:52 2006

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

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