[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion Question

From: Johnathan Gifford <jgifford_at_wernervas.com>
Date: Tue, 27 May 2008 14:51:24 -0500

This is kinda like the shelving feature of Microsoft's Team Systems, which can be replicated in Subversion. What your developers can do is copy their working copy to directory in the respository. We do this where I work and we put in the branches directory under another directory (called 'shelved') so we know what they are. The great thing about this process is that it looks at the working copy and copies the unmodified where the files came from in the repository (i.e. branches, trunk, etc), Now local changes are copied from the working copy to the new repository location.

To do this, you can use the command line using the following:

svn copy /path/to/wc/on/local url://server/repos/project/branches/shelved/name_of_your_choosing -m "Commit Message"

Now branches is one place to put it, but you can also put these copies the tags directory of the repository or where ever. It's just where ever you and your team want to organize them. This can be done with just about any of the GUI clients as well using the Branch/Tag feature

Do a Google for 'Subversion shelving' and you should see many links to additional information.

Hope this helps,


>>> On Tue, May 27, 2008 at 10:22 AM, in message <17492933.post_at_talk.nabble.com>,
jpyork <jp_york_at_hotmail.com> wrote:

> I am trying to find out if it is possible or the best way to have a
> "placeholder" in subversion. The issue is that developers want a place to
> check in there code without checking it into the actual repository. Kind of
> a way to save there code off there pc, so that if something happens to there
> pc there changes are not lost. The only way I thought of doing this was
> setting up a part like the following
> Repository name - Branches --> Developer 1
> - Tags Developer 2
> - Trunk Developer 3
> In each Developers part of this repository they could have folders with the
> name of each project in it and have there changes in there.
> Is this the best or only way to do this?
> Any other suggestions?

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-27 21:52:34 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.