RE: How to update only selective subdirectories?
From: Johan Corveleyn <johan.corveleyn_at_uz.kuleuven.ac.be>
Date: Mon, 22 Jun 2009 23:28:53 +0200
> -----Oorspronkelijk bericht-----
Yes, and this is exactly what sparse directories help you with: it remembers which subdirs you want, and which you don't. The depth settings of the different working copy directories are sticky, so that next time you do an update of A, only the subdirs you explicitly brought in are updated.
In svn command-line, it works like this:
---- svn co --depth=empty url/to/A A cd A svn up B C D E ---- After this, A is a sparse working copy, with only B, C, D and E under it. If you now run "svn up" in A, it will only update B, C, D and E. You can create such a sparse working copy with TSVN as well. Here's how I did it: - First checkout A with depth set to empty. - Then right-click in your A working copy, and open Repo-browser. - In Repo-browser, select needed subdirs (ctrl-click to multi-select) - Choose "Update to revision" - In this dialog, you can select depth=infinity (or whatever the name of the option is in the TSVN dropdown) After that, your A checkout will be a nice sparse working copy. Updating the root of it will only update what you need. Regards, Johan ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2364302 To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].Received on 2009-06-22 23:29:45 CEST |
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.