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

RE: How do you atomically commit a selection of files/folders?

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: 2006-07-26 14:56:43 CEST

On Wed, 2006-07-26 at 00:24, Gavin Lambert wrote:

> > If "svn commit" doesn't accept a list of files/folders as
> > arguments or a 'list file' containing the set of things to
> > commit how can I commit a change-set in a single revision?
>
> It does. It's just that they all have to be part of the same working
> copy (ie. created with a single 'svn checkout' command). As long as
> that's true you can put in as many specific files as you want.
>
> You can also commit a subtree of your working copy either by naming the
> folder on the commandline or by changing your current directory to that
> folder before issuing the commit command.

When you do this, do the revisions go to the head, mingling
with changes others have committed, or is there some way to
check out exactly what is in your workspace again
(including the version you checked out of the unchanged
files and only the changes you just committed) without
making a branch to keep these together?

-- 
  Les Mikesell
   lesmikesell@gmail.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jul 26 14:58:14 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.