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

Re: Post-Check Out Stealth Hook ?

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-03-13 17:18:02 CET

On Mar 13, 2006, at 16:17, stevec wrote:

> 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.

There are no client-side hooks whatsoever in Subversion.

This is the common way this situation is handled:

http://subversion.tigris.org/faq.html#ignore-commit

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 13 17:35:38 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.