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

Re: excluding files?

From: Martin J. Stumpf <mjs_at_jhu.edu>
Date: 2005-01-12 18:18:10 CET

John Hogenmiller wrote:

>Hello,
>
>I have a project setup with a specific directory structure:
>Project/
> src/
> config.php
> index.php
>
>config.php & www are "site-specific" meaning I don't want to change
>them. What I have been doing is changing to the Project directory and
>typing "svn update src" in order to update the src. However, I have
>made a mistake and typed "svn update" and overwrote my config.php
>before I could hit Ctrl-C . Since we might be adding some more
>developersI would like to keep these files available in the cvs
>repository (for initial checkout of the code) but somehow exclude
>files from updates (unless they force an update). It makes developing
>and testing on different machines much easier.
>
>I did some basic looking around and didn't see anything on the
>subject. If this functionality does exist, can someone point me in
>that general direction?
>
>How do other people handle situations like this (other than always
>typing the commands correctly -- or is that just it?)?
>
>Thanks,
>John
>
>
>
John,

In your config file uncomment the miscellany section and add the file
names to be ignored. Here are the lines from my config file. Maybe that
would work.

[miscellany]
### Set global-ignores to a set of whitespace-delimited globs
### which Subversion will ignore in its 'status' output.
global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store
*.tar.* .?*

hth,

-Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 12 18:26:45 2005

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