[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: Cuban <rcastro_at_mastercontrol.com>
Date: 2007-05-05 06:39:25 CEST

Ryan,

Funny you'd say that because I tried it on mine (Subversion Command-line
Client 1.2.1) and it didn't work. I even tried the exact scenario with
folder names, just to be sure (Since I'm so new to SVN :)) I just got what
you had expected: C:\test\wrapper is not a working copy.

So, unless micke knows why it worked for him and not for me, I think I'll go
with your last suggestion, which was to check out a top directory, then non
recursively check out only the necessary directory structure. Honestly, it's
a lot more code but it's the price I pay for having 1 revision number for 15
commited files in varying folders.

Thanks again to everyone for all the help. If anyone has any additional
solutions, or a method for getting Micke's solution (Found below) I'd love
to hear them.

Regards,

Ryan

P.S Micke, what version of SVN are you running? Maybe it worked for you
because you have an eariler or later version. if that's the case, I'll
upgrade/downgrade as necessary, since your solution is infinitely easier. :)

Ryan Schmidt-23 wrote:
>
> On May 4, 2007, at 15:33, Micke wrote:
>
>> Tested it with the command line client. Seems to work:
>> C:\Temp>svn --version
>> svn, version 1.4.2 (r22196)
>> kompilerad Nov 3 2006, 16:53:07
>>
>>
>> // Checked out wrapper - and it is empty
>>
>> C:\Temp>cd wrapper
>>
>> C:\Temp\Wrapper>svn info
>> Sökväg: .
>> URL: https://x.y.z/svn/test/Dummy
>> Arkivrot: https://x.y.z/svn/test
>> Arkivets UUID: ce18c596-17a5-48f2-8801-f9f72dffaa8a
>> Revision: 6
>> Nodtyp: katalog
>> Schemalagd: normal
>> Författare till senaste ändringen: micke
>> Senast ändrad i revision: 6
>> Datum för senaste ändringen: 2007-05-04 22:13:29 +0200 (fr, 04 maj
>> 2007)
>>
>> C:\Temp\Wrapper>dir
>> Directory of C:\Temp\Wrapper
>>
>> 2007-05-04 22:16 <DIR> .
>> 2007-05-04 22:16 <DIR> ..
>> 0 File(s) 0 bytes
>> 2 Dir(s) 1 328 046 080 bytes free
>>
>>
>> // Filling wrapper with folders from other parts of the repository
>>
>> C:\Temp\Wrapper>svn co https://x.y.z/svn/test/A/AA AA
>> A AA\FILE-A.TXT
>> Checkade ut revision 6.
>>
>> C:\Temp\Wrapper>svn co https://x.y.z/svn/test/B/BB BB
>> A BB\FILE-B.TXT
>> Checkade ut revision 6.
>>
>>
>> // Wrapper still thinks it is empty
>>
>> C:\Temp\Wrapper>svn ls
>>
>> C:\Temp\Wrapper>dir
>>
>> Directory of C:\Temp\Wrapper
>>
>> 2007-05-04 22:18 <DIR> .
>> 2007-05-04 22:18 <DIR> ..
>> 2007-05-04 22:17 <DIR> AA
>> 2007-05-04 22:18 <DIR> BB
>> 0 File(s) 0 bytes
>> 4 Dir(s) 1 328 025 600 bytes free
>>
>>
>> // Editing both files here
>>
>>
>> C:\Temp\Wrapper>svn status AA
>> M AA\FILE-A.TXT
>>
>> C:\Temp\Wrapper>svn status BB
>> M BB\FILE-B.TXT
>>
>>
>> // AA and BB are still there
>>
>> C:\Temp\Wrapper>svn info AA
>> Sökväg: AA
>> URL: https://x.y.z/svn/test/A/AA
>> Arkivrot: https://x.y.z/svn/test
>> ...
>>
>> C:\Temp\Wrapper>svn info BB
>> Sökväg: BB
>> URL: https://x.y.z/svn/test/B/BB
>> Arkivrot: https://x.y.z/svn/test
>> ...
>>
>> // Commit both folders in a single commit
>>
>> C:\Temp\Wrapper>svn ci AA BB --username micke -m "Task: test multiple
>> path ci with command line client"
>> Autentiseringsregion (realm): <https://x.y.z:443> Subversion
>> repository
>> Lösenord för "micke": ***********
>> Skickar AA\FILE-A.TXT
>> Skickar BB\FILE-B.TXT
>> Skickar filinnehåll ..
>> Arkiverade revision 7.
>>
>>
>> // Log seems to indicate success
>>
>> C:\Temp\Wrapper>svn log https://x.y.z/svn/test -r7 -v
>> ----------------------------------------------------------------------
>> --
>> r7 | micke | 2007-05-04 22:18:32 +0200 (fr, 04 maj 2007) | 1 line
>> Ändrade sökvägar:
>> M /A/AA/FILE-A.TXT
>> M /B/BB/FILE-B.TXT
>>
>> Task: test multiple path ci with command line client
>> ----------------------------------------------------------------------
>> --
>
> Wow. I just confirmed that the above steps work with Subversion 1.4.3
> on Mac OS X. I can't believe that worked. That's totally bizarre.
> There has got to be a Subversion bug in there somewhere. It seems to
> me as though that should not have worked.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/Committing-Checkouts-from-multiple-locations-in-a-single-commit.-tf3692560.html#a10333620
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 5 06:41: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.