[svk-users] update directory without checking out all new subdirs?

Derek Atkins warlord at MIT.EDU
Wed Oct 29 12:21:25 EDT 2008


Hi,

Quoting Chia-liang Kao <clkao at clkao.org>:

> one tricky way to do is to touch a file of those directories you
> *don't* want, and then do the up.  those directories will have a
> collision and not being checked out...

But I can't run 'svk ls' in the WC to see what would be updated.
I suppose I could run svk ls off the depot path.  So what you mean
is for every new directory in "svk ls [DEPOTPATH]" I should do:

  touch [unwanted-new-dirname]

and then an "svk up" would do what I want?  Then if I 'rm' those files
a subsequent "svk up" will still do what I want?

>> If I run "svk -N update" it gives me an error that that isn't supported.
>>
>> If I run "svk revert" from TOPDIR/dir it doesn't appear to do anything.
>>
>> The only way I could figure out how to do it is to delete the checkout
>> and start over again, but that's not a viable long-term solution.
>
> the easiest way is probably go to ~/.svk/config and update the
> revision of your 'dir' to the latest HEAD, and do the revert -R for
> the subdir you wanted.

Ahh, I guess this could work too.

Any chance we could get "svk up -N" to work?  I would imagine that it
would just perform this magic config update for me....

Thanks

> Cheers,
> CLK

-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



More information about the svk-users mailing list