On 04/05/2007 8:30 PM, Ryan Schmidt wrote:
> On May 4, 2007, at 12:02, Duncan Murdoch wrote:
>> On 5/4/2007 12:34 PM, Cuban wrote:
>>> 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
>>> Here's a diagram of my WORKING Copy configuration:
>>> |_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.
>> I don't think your description above is correct. If c:\SVN is not
>> a working copy, then you would get an error when you tried to
>> commit it.
> Right, you would have got an error like this:
> svn: 'C:\SVN' is not a working copy
> svn: Can't open file 'C:\SVN\.svn\entries': No such file or directory
>> So I suspect what you really have is your folder 2 checked out into
>> the middle of an existing working copy. This can work, but only if
>> you define folder 2 as an external of the c:\svn directory. Then
>> you could commit changes to both folders in one commit.
> But externals aren't a solution either... Subversion will not commit
> changes you've made in an external directory if your commit command
> is for a directory above the external.
But I think it would work to do a single commit that specified both
folders explicitly. (I don't think it matters if they are externals or
not, as long as they belong to the same repository.) So something like
svn commit folder1 folder2 -m"blah blah"
should be the solution to the original question. Using externals is the
solution to a different problem. Sorry for the noise...
To unsubscribe, e-mail: firstname.lastname@example.org
For additional commands, e-mail: email@example.com
Received on Sat May 5 04:13:08 2007