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

Re: Help>>>I don't want to commit a file

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: 2006-11-14 22:23:57 CET

Quoth netawater:
> Sorry, what do you mean Then as necessary you copy it to some other file
> which *is* in the ignore list.

Ok, say in some folder you've got some host-specific file called
"hostfile". What you do is:

1. SVN Move "hostfile" to "hostfile.tmpl" (for "template")
2. add "hostfile" to the svn:ignore list for that folder
3. on each host, use the normal non-SVN copy to copy hostfile.tmpl to
hostfile
4. you will now be able to edit hostfile to your heart's content without
it coming up in the commit dialog or automatically getting changes from
source control.
5. when you update the folder, any changes made externally will appear
in the hostfile.tmpl file. If you want those included in your
host-specific hostfile, then you'll need to manually merge them (or
recopy the file and make your host-specific changes again).

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Tue Nov 14 22:29:32 2006

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

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