You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Res Pons <po...@hotmail.com> on 2007/02/26 20:14:45 UTC
Tags Clean Up
I'm curious to know if anyone ever cleans up their tags folders and only
keep around that tags folder which have made it to a release? Am I supposed
to clean them up?
Are the tags full folder snapshots of a project or cheap copies of delta
differences?
Thanks
_________________________________________________________________
The average US Credit Score is 675. The cost to see yours: $0 by Experian.
http://www.freecreditreport.com/pm/default.aspx?sc=660600&bcd=EMAILFOOTERAVERAGE
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Res Pons <po...@hotmail.com>.
Thanks for the feedback
----Original Message Follows----
From: Duncan Booth <du...@suttoncourtenay.org.uk>
Reply-To: duncan.booth@suttoncourtenay.org.uk
To: users@subversion.tigris.org
Subject: Re: Tags Clean Up
Date: Wed, 28 Feb 2007 20:54:15 +0000 (UTC)
"Res Pons" <po...@hotmail.com> wrote:
> I could run svn mv command but the problem is I'm not sure the svn-cli
> would allow me to use wild cards. How do I achieve this in one
> command, do you know? My tags folder includes many tag subfolders in
> the following format: Buildnnn, where nnn is the next sequential
> number in the series.
Another suggestion: use webdav and a gui interface. Then you can just
drag/drop a bunch of folders in one go.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
_________________________________________________________________
Mortgage rates as low as 4.625% - Refinance $150,000 loan for $579 a month.
Intro*Terms
https://www2.nextag.com/goto.jsp?product=100000035&url=%2fst.jsp&tm=y&search=mortgage_text_links_88_h27f6&disc=y&vers=743&s=4056&p=5117
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Duncan Booth <du...@suttoncourtenay.org.uk>.
"Res Pons" <po...@hotmail.com> wrote:
> I could run svn mv command but the problem is I'm not sure the svn-cli
> would allow me to use wild cards. How do I achieve this in one
> command, do you know? My tags folder includes many tag subfolders in
> the following format: Buildnnn, where nnn is the next sequential
> number in the series.
Another suggestion: use webdav and a gui interface. Then you can just
drag/drop a bunch of folders in one go.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Res Pons <po...@hotmail.com>.
True, I found out that I couldn't run wildcards. Bummer. Thanks for your
sugesstion. I did end up writing a huge batch file before I saw your email!
----Original Message Follows----
From: "Dave Grundgeiger" <da...@codenouveau.com>
To: "Res Pons" <po...@hotmail.com>
CC: <us...@subversion.tigris.org>
Subject: Re: Tags Clean Up
Date: Mon, 26 Feb 2007 16:20:02 -0600
Res Pons wrote:
>I could run svn mv command but the problem is I'm not sure the svn-cli
>would allow me to use wild cards. How do I achieve this in one command, do
>you know? My tags folder includes many tag subfolders in the following
>format: Buildnnn, where nnn is the next sequential number in the series.
I don't think that wildcards are an option, but I'm not an expert on svn
commands. One thing you could do is automatically build a batch file
containing a whole bunch of svn mv commands. Something like this:
1. Use svn ls to list the directories in your tags branch, but redirect the
output to a file.
2. If necessary, use grep to grab only the lines you want, redirecting the
output to another file.
3. Use search & replace in a text editor or word processor to massage the
lines into svn mv commands.
4. Execute the resulting file.
Dave
Dave Grundgeiger
CodeNouveau, LLC
Develop .NET Software with Open-Source Tools
http://www.codenouveau.com
_________________________________________________________________
Win a Zune��make MSN� your homepage for your chance to win!
http://homepage.msn.com/zune?icid=hmetagline
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Dave Grundgeiger <da...@codenouveau.com>.
Res Pons wrote:
> I could run svn mv command but the problem is I'm not sure the svn-cli
> would allow me to use wild cards. How do I achieve this in one command, do
> you know? My tags folder includes many tag subfolders in the following
> format: Buildnnn, where nnn is the next sequential number in the series.
I don't think that wildcards are an option, but I'm not an expert on svn
commands. One thing you could do is automatically build a batch file
containing a whole bunch of svn mv commands. Something like this:
1. Use svn ls to list the directories in your tags branch, but redirect the
output to a file.
2. If necessary, use grep to grab only the lines you want, redirecting the
output to another file.
3. Use search & replace in a text editor or word processor to massage the
lines into svn mv commands.
4. Execute the resulting file.
Dave
Dave Grundgeiger
CodeNouveau, LLC
Develop .NET Software with Open-Source Tools
http://www.codenouveau.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Res Pons <po...@hotmail.com>.
Thank you for the help.
----Original Message Follows----
From: Ryan Schmidt <su...@ryandesign.com>
To: Res Pons <po...@hotmail.com>
CC: markphip@gmail.com, users@subversion.tigris.org
Subject: Re: Tags Clean Up
Date: Mon, 26 Feb 2007 15:58:16 -0600
On Feb 26, 2007, at 14:27, Res Pons wrote:
>Great and thank you for your quick response. That's exactly my problem:
>browsing the tags folders takes a long time and I need to start creating
>archive folders and move the tags into this subfolder. I use both
>Tortoise and SVN Dos client on my WinXP desktop and our SVN server is a
>Redhat Linux box running Apache.
>
>I created a folder named archive in a project's tags subfolder and I could
>not highlight multiple tag subfolders and drag them into the archive
>folder as Tortoise only allowed me to drag one folder at a time.
>
>I could run svn mv command but the problem is I'm not sure the svn- cli
>would allow me to use wild cards. How do I achieve this in one command, do
>you know? My tags folder includes many tag subfolders in the following
>format: Buildnnn, where nnn is the next sequential number in the series.
You could check out the entire tags directory, use "svn mkdir" to create an
"old" directory or whatever you want to call it, use "svn mv" to move your
old tags to that directory, then use "svn commit" to commit it all at once.
This may not be ideal if you have very many tags and their contents is
large, as this will eat up client disk space and take time to check out and
manipulate.
Or, you could try using mucc, the multiple URL command client. I have never
used it, but I think it should let you issue multiple remote renames via
URLs in a single commit.
http://svn.collab.net/repos/svn/trunk/contrib/client-side/mucc.c
--
To reply to the mailing list, please use your mailer's Reply To All
function
_________________________________________________________________
Find what you need at prices you�ll love. Compare products and save at MSN�
Shopping.
http://shopping.msn.com/default/shp/?ptnrid=37,ptnrdata=24102&tcode=T001MSN20A0701
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 26, 2007, at 14:27, Res Pons wrote:
> Great and thank you for your quick response. That's exactly my
> problem: browsing the tags folders takes a long time and I need to
> start creating archive folders and move the tags into this
> subfolder. I use both Tortoise and SVN Dos client on my WinXP
> desktop and our SVN server is a Redhat Linux box running Apache.
>
> I created a folder named archive in a project's tags subfolder and
> I could not highlight multiple tag subfolders and drag them into
> the archive folder as Tortoise only allowed me to drag one folder
> at a time.
>
> I could run svn mv command but the problem is I'm not sure the svn-
> cli would allow me to use wild cards. How do I achieve this in one
> command, do you know? My tags folder includes many tag subfolders
> in the following format: Buildnnn, where nnn is the next sequential
> number in the series.
You could check out the entire tags directory, use "svn mkdir" to
create an "old" directory or whatever you want to call it, use "svn
mv" to move your old tags to that directory, then use "svn commit" to
commit it all at once. This may not be ideal if you have very many
tags and their contents is large, as this will eat up client disk
space and take time to check out and manipulate.
Or, you could try using mucc, the multiple URL command client. I have
never used it, but I think it should let you issue multiple remote
renames via URLs in a single commit.
http://svn.collab.net/repos/svn/trunk/contrib/client-side/mucc.c
--
To reply to the mailing list, please use your mailer's Reply To All
function
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Res Pons <po...@hotmail.com>.
Great and thank you for your quick response. That's exactly my problem:
browsing the tags folders takes a long time and I need to start creating
archive folders and move the tags into this subfolder. I use both Tortoise
and SVN Dos client on my WinXP desktop and our SVN server is a Redhat Linux
box running Apache.
I created a folder named archive in a project's tags subfolder and I could
not highlight multiple tag subfolders and drag them into the archive folder
as Tortoise only allowed me to drag one folder at a time.
I could run svn mv command but the problem is I'm not sure the svn-cli would
allow me to use wild cards. How do I achieve this in one command, do you
know? My tags folder includes many tag subfolders in the following format:
Buildnnn, where nnn is the next sequential number in the series.
Thanks for your help.
----Original Message Follows----
From: "Mark Phippard" <ma...@gmail.com>
To: "Res Pons" <po...@hotmail.com>
CC: users@subversion.tigris.org
Subject: Re: Tags Clean Up
Date: Mon, 26 Feb 2007 12:19:05 -0800
On 2/26/07, Res Pons <po...@hotmail.com> wrote:
>
>I'm curious to know if anyone ever cleans up their tags folders and only
>keep around that tags folder which have made it to a release? Am I
>supposed
>to clean them up?
>
>Are the tags full folder snapshots of a project or cheap copies of delta
>differences?
There is no reason to clean them up from a repository space point of view.
If you do not need them any more and cleaning them up makes browsing the
folder more efficient, then by all means clean them up. Likewise, you could
create some kind of archived tag folder structure and just move the tag to
that folder.
Tags are cheap copies, they do not take up much space. Even if they did,
since a delete in Subversion does not remove the historical artifact it does
not save space to delete something (it actually uses a few bytes if
anything). Likewise, moving a tag to an archive area would also just use a
few bytes.
In the end, the answer is to do what you want based on your needs.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/
_________________________________________________________________
With tax season right around the corner, make sure to follow these few
simple tips.
http://articles.moneycentral.msn.com/Taxes/PreparationTips/PreparationTips.aspx?icid=HMFebtagline
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Tags Clean Up
Posted by Mark Phippard <ma...@gmail.com>.
On 2/26/07, Res Pons <po...@hotmail.com> wrote:
>
> I'm curious to know if anyone ever cleans up their tags folders and only
> keep around that tags folder which have made it to a release? Am I
> supposed
> to clean them up?
>
> Are the tags full folder snapshots of a project or cheap copies of delta
> differences?
There is no reason to clean them up from a repository space point of view.
If you do not need them any more and cleaning them up makes browsing the
folder more efficient, then by all means clean them up. Likewise, you could
create some kind of archived tag folder structure and just move the tag to
that folder.
Tags are cheap copies, they do not take up much space. Even if they did,
since a delete in Subversion does not remove the historical artifact it does
not save space to delete something (it actually uses a few bytes if
anything). Likewise, moving a tag to an archive area would also just use a
few bytes.
In the end, the answer is to do what you want based on your needs.
--
Thanks
Mark Phippard
http://markphip.blogspot.com/