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

Re: Committing Checkouts from multiple locations in a single commit.

From: Micke <u23104331_at_telia.com>
Date: 2007-05-04 21:11:15 CEST

Cuban wrote:
> Good morning,
> Forgive me newbie like question, but I did agressively search the web for my
> answer to no avail. If someone would answer the below question, I'd be
> forever greatful.
> How can I commit two seperately checked out folders silmultaneously, so that
> when viewing the comments in SVN, all the files were commited as the same
> revision?
> Here's a diagram of my WORKING Copy configuration:
> C:\SVN-
> |_Checkout Folder 1\Files and folders here
> |_Checkout Folder 2\Files and folders here
> Both checkout folders are seperate checkouts from different locations in the
> repository. If I run this command:
> svn commit "c:\svn" -m "Commited both folders"
> Only Checkout Folder 1, and all of it's subdirectories/code is commited. - I
> need checkout 2 subdirectories and code to be committed as well, under the
> same revision.
> The reason for this desire is that I'm automating the process in which we
> 'mark' builds in our software (essentially just mark edit a text file and
> relate that revision with the text file), but I pull code from several
> repository locations to do so. So, I could easily automate the process by
> looping through each file individually and commiting it, but then I am
> making like 10 Revisions to mark a single build.
> I appreciate anyone who took the time to go through this message. Thanks
> again for any assistance I recieve.
> Ryan.


Since you are on Windows, you can use TortoiseSVN to achieve it. I use
it this way all the time. The easiest way is to create an empty folder
somewhere in your repository. In the checkout of that dummy folder, you
can checkout whatever you want:

C:\SVN-Dummy (the empty folder)
       |_Checkout Folder 1\Files and folders here
       |_Checkout Folder 2\Files and folders here

You can not update or commit using the dummy, but rather you select all
the checked out folders below in the explorer and update/commit.
As an added bonus you have a functional "modified" icon on the dummy folder.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 4 21:12:09 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.