You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Clemens A mensik <cl...@ip2.at> on 2005/07/29 15:31:40 UTC

deleting svn-directory's....

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

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

Posted by Christopher Ness <ch...@nesser.org>.
On Fri, 2005-07-29 at 17:31 +0200, Clemens A mensik wrote:
> /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?

By filling up disc space, you mean in the working copy, not the
repository, correct?

Next time simply check this single directory out instead of the entire
tags directory.

   svn co URL://server.com/tag/release_4/

Cheers,
Chris
-- 
Wireless Group
McMaster University

summer
13:43:50 up 7 days, 23:37, 1 user, load average: 0.02, 0.10, 0.20



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Clemens A mensik <cl...@ip2.at>.
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 <cl...@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

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

Posted by David Weintraub <qa...@gmail.com>.
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 <cl...@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
> 
> 


-- 
--
David Weintraub
qazwart@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org