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

Re: Is there excludes on implicit checkins?

From: John Peacock <jpeacock_at_rowman.com>
Date: 2004-03-26 15:22:43 CET

Glanville, Jay wrote:
> Weird question here: is there a way to exclude certain files from an
> implicit checkin, where these files are already version controlled?

No, but you don't need to perform an explicit checkin in the first place. What
you can do is use something like

        $ svn st | egrep "^(M| M)" | cut -c8- > commit.list

to collect a list of all modified files in the WC. Then you can edit out and
remove the 8 files (or use 'fgrep -v -f exclude.list' to automate this). Once
you have the files you _do_ want to, you can use the following to check them in:

        svn ci --targets commit.list

I can definitely see a use for a new option to checkin (--exclude-targets) which
would make this much easier.

John

-- 
John Peacock
Director of Information Research and Technology
Rowman & Littlefield Publishing Group
4501 Forbes Boulevard
Suite H
Lanham, MD  20706
301-459-3366 x.5010
fax 301-429-5748
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 26 15:23:05 2004

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.