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

Re: deleting svn-directory's....

From: Clemens A mensik <clemens.mensik_at_ip2.at>
Date: 2005-07-30 08:29:03 CEST

Hi David,

thx for your thoughts and also for your advice. I know that
I shouldn't and also won't work with the tags... there was
just one piece missing in my mind... to delete the ./svn
in the /tags directory.. better is your idea about doing
just an export, never thought about it before..

greets
clemens

David Weintraub wrote:
> You can safely delete the older release_* using without it being
> removed from Subversion. However, Subversion will insist you update
> your /tags directory before you commit again. And that will recreate
> the release_1, release_2, and release_3 directories right back on your
> back on your hard drive.
>
> There is a way around this. Do your commits from the /tags/release_4
> working directory instead of from the /tags working directory. Each
> directory you checkout has its own .svn directory and can be treated
> just like a working directory.
>
> Just for safety sake, when you remove the /tags/release_[1-3]
> directories, also remove the /tags/.svn directory too. That way, /tags
> is no longer a Subversion working directory. From then on, you'll have
> to use /tags/release_4 as your working directory.
>
> Just out of curiosity, why are you working in your /tags directory
> anyway? Normally, once you make a tag, there should be no more
> changes. If you make /tags/release_4, and need to do more work, copy
> /tags/release_4 to /branches/release_4 and work from there.
>
> In fact, you should use "svn export" instead of "svn checkout" when
> you download your tag directories, so you won't even be tempted to
> make modifications.
>
> On 7/29/05, Clemens A mensik <clemens.mensik@ip2.at> wrote:
>
>>Hi,
>>
>>is it possible to delete svn directorys at my
>>local checked out repository without triggering
>>a 'delete' during the next commit?
>>
>>for example, I've checked out the following dirs:
>>
>>/tag/release_1
>>/tag/release_2
>>/tag/release_3
>>/tag/release_4
>>
>>4 is the most current release. All the others are
>>old, not used anymore and are only filling up my
>>disk. So I'd like to delete them without risking
>>a delete in my repository?
>>
>>ok, I know that it's just a minor subject, because
>>normally you shouldn't commit over severel branches
>>and stuff like this...
>>
>>greets
>>clemens
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
>>For additional commands, e-mail: users-help@subversion.tigris.org
>>
>>
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Jul 30 08:30:45 2005

This is an archived mail posted to the Subversion Users mailing list.