[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: Ryan Schmidt <subversion-2007b_at_ryandesign.com>
Date: 2007-05-05 02:24:45 CEST

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
Received on Sat May 5 02:26:02 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.