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

Re: Temporarily ignore a directory / files during commit

From: Josh Gilkerson <jwg_at_google.com>
Date: 2007-04-10 00:12:06 CEST

I think something like the following should work from the root of your wc.

svn commit --non-recursive $(find . -not '(' -name '.svn' -prune -or
-wholename '/path/to/filea' -or -wholename '/path/to/fileb' ')'

On 4/9/07, Matt Sickler <crazyfordynamite@gmail.com> wrote:
> i dont know if theres a feature that lets you commit all but X
> but you can do something like `svn commit filea fileb filec` and not include
> X
>
>
> On 4/9/07, Reuben D. Budiardja
> <techlist@pathfinder.phys.utk.edu> wrote:
> > Hello,
> > Is there any way for svn to temporarily ignore a directory or files
> > during "svn commit" so that changes in that directory or files are not
> > committed ?
> > Often time I found myself in a situation where I would like to commit a
> set of
> > changes from the root level of my project, but with changes a certain
> > directory or set of files not committed at that time (for various
> reasons),
> > and I can't find an easy way to do this. I'm hoping to an option, similar
> but
> > the negation to the "--no-ignore" in "svn status".
> >
> > If this feature does not exist yet, could it be added to the feature
> > wishlist ?
> >
> > Thanks for any help / comments.
> >
> > RDB
> > --
> > Reuben D. Budiardja
> > Dept. Physics and Astronomy
> > University of Tennessee, Knoxville, TN
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> users-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail:
> users-help@subversion.tigris.org
> >
> >
>
>

-- 
Josh Gilkerson
Software Engineer
Google, Inc · MV-1600 Plymouth (HQ)
+1 (650) 253-1667 direct
+1 (859) 608-7827 cell
jwg@google.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Apr 10 00:12:46 2007

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.