Allow branches/tags not to be automatically updated

DavidNichols
DavidNichols
How can I set up a tag or branch so it doesn't get updated when I update the trunk? Consider a variation of the scenario in the documentation.    ProjectRoot   Calc   trunk   branches   ThanksgivingRelease   tags   ChristmasSnapshot   Paint   trunk   branches   ThanksgivingRelease   tags   ChristmasSnapshot    If tags and branches were empty, I'd go to ProjectRoot, say 'svn update' and everything in the trunks would update. If I add an element to branches and tags under both projects, then going to ProjectRoot, saying 'svn update' updates both the ThanksgivingRelease and ChristmasSnapshot directories. Is there a way to update only the trunk entry under each project and not update things in the branches and tags subdirectories unless specifically requested? I'd like for the tags and releases to exist in the repository, but not appear on my local hard drive unless specifically requested. Would a different directory structure make this easier? I'd prefer not to carry around every branch/tag directory on every hard drive connected to the repository. I'd also prefer not to go to the trunk directory of each project and update from there.

Last updated

andyl
andyl
Option 1: Only check out trunk. You don't have to check out from the top level of your tree, you can check out from anywhere.    Option 2: Use Sparse Directories so that branches & tags exist, but remain empty locally.

1-2 of 2

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.