[svk-devel] "checkout -N" + "update" doesn't behave like
Subversion
Derek Atkins
warlord at MIT.EDU
Wed Oct 18 14:29:01 EDT 2006
Please re-read my original mail closely. In particular, read the
Subversion commands at the front of my original mail. No, I can't do
what you suggest because I want to have:
<path>/trunk/<dir1> <dest>/<dir1>
<path>/trunk/<dir2>/<subdir1> <dest>/<dir2>/<subdir1>
But I do NOT want
<path>/trunk/<dir3>
nor do I want
<path>/trunk/<dir2>/<subdir2>
I don't see how your suggestion would help me.. It would effectively
mean I would need to perform two different checkouts in order to get
<dir1> and <dir2>/<subdir1>. It also doesn't let me add
<dir2>/<subdir3> at some point in the future once I realize I need it.
Nor do I see how it would get 'svk commit' from <dest> to commit a
single changeset when there are changes in both <dir1> and
<dir2>/<subdir1>
But thanks for trying. Maybe David or Cklao can respond?
-derek
<Chris.Fouts at qimonda.com> writes:
> Can't you just do a
>
>> svk co <path>/trunk/<desired dir> <dest>
>> cd <dest>
>> svk up/commit/etc
>
>
>>-----Original Message-----
>>From: svk-devel-bounces at bestpractical.com
>>[mailto:svk-devel-bounces at bestpractical.com] On Behalf Of Derek Atkins
>>Sent: Wednesday, October 18, 2006 2:17 PM
>>To: svk-devel at bestpractical.com
>>Subject: [svk-devel] "checkout -N" + "update" doesn't behave
>>like Subversion
>>
>>Hi,
>>
>>My work's SVN repository is really really large, and I really
>>only need to be working on a subset of the tree.
>>Unfortunately the subset of the tree isn't a single subtree.
>>When using subversion I would do the following:
>>
>> svn co -N <path>/trunk src
>> cd src
>> svn update libs
>> svn update -N clients
>> cd clients
>> svn update myclient
>>
>>Then I could "svn update" and "svn commit" from the top-level
>>and all changes to the tree would get committed into a single
>>changeset.
>>
>>Unfortunately, SVK's "checkout -N" doesn't work this way.
>>
>>[warlord at cliodev foo]$ svk co -N /foo/cmdln-lib src2 Syncing
>>/foo/cmdln-lib(/local/cmdln-lib) in /home/warlord/src/foo/src2
>>to 48627.
>>[warlord at cliodev foo]$ cd src2/
>>[warlord at cliodev src2]$ svk update libs2 Syncing
>>/foo/cmdln-lib/libs2(/local/cmdln-lib/libs2) in
>>/home/warlord/src/foo/src2/libs2 to 48627.
>>Checkout directory gone. Use 'checkout /foo/cmdln-lib/libs2
>>libs2' instead.
>>[warlord at cliodev src2]$ mkdir libs2
>>[warlord at cliodev src2]$ svk update libs2 Syncing
>>/foo/cmdln-lib/libs2(/local/cmdln-lib/libs2) in
>>/home/warlord/src/foo/src2/libs2 to 48627.
>>[warlord at cliodev src2]$ ls -l libs2/
>>total 0
>>
>>Am I doing something wrong or is this a bug?
>>
>>-derek
>>
>>--
>> Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
>> Member, MIT Student Information Processing Board (SIPB)
>> URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
>> warlord at MIT.EDU PGP key available
>>_______________________________________________
>>svk-devel mailing list
>>svk-devel at bestpractical.com
>>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel
>>
> _______________________________________________
> svk-devel mailing list
> svk-devel at bestpractical.com
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel
>
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the svk-devel
mailing list