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

Re: users Digest of: thread.15530

From: michael <cs_at_networkingnewsletter.org.uk>
Date: Tue, 15 Jan 2008 21:40:38 +0000

On Tue, 2008-01-15 at 21:31 +0000, users-help_at_subversion.tigris.org
wrote:
> users Digest of: thread.15530
>
>
> Cleaning up working copy
> 15530 by: Greg Thomas
> 15547 by: Ben Collins-Sussman
> 15559 by: Marcos Chaves
> 15560 by: Roel Harbers
> 15653 by: S.Ramaswamy
> 15659 by: Greg Thomas
> 15666 by: Greg Thomas

>
> ----------------------------------------------------------------------
> email message attachment (users_15530.ezm)
> > -------- Forwarded Message --------
> > From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
> > To: users_at_subversion.tigris.org
> > Subject: Cleaning up working copy
> > Date: Fri, 06 Aug 2004 10:13:44 +0100
> >
> > When you've finished with a working copy, is there an easy way to
> > clean it up? I know you can just delete the directories, but with all
> > the hidden files lying around that can be non-trivial in a portable
> > manner.
> >
> > Ta,
> >
> > Greg
> email message attachment (users_15547.ezm)
> > -------- Forwarded Message --------
> > From: Ben Collins-Sussman <sussman_at_collab.net>
> > To: Greg Thomas <thomasgd_at_omc.bt.co.uk>
> > Cc: users_at_subversion.tigris.org
> > Subject: Re: Cleaning up working copy
> > Date: Fri, 06 Aug 2004 08:06:49 -0500
> >
> > On Fri, 2004-08-06 at 04:13, Greg Thomas wrote:
> > > When you've finished with a working copy, is there an easy way to
> > > clean it up?
> >
> > Huh? I don't understand.
> >
> > 'rm -rf workingcopy'
> >
> > or
> >
> > 'deltree workingcopy'.... ?
> >
> >
> > > I know you can just delete the directories, but with all
> > > the hidden files lying around that can be non-trivial in a portable
> > > manner.
> >
> > Why does deleting a directory need to "portable"?
> >
> >
> >
> >
> email message attachment (users_15559.ezm)
> > -------- Forwarded Message --------
> > From: Marcos Chaves <mchvs_at_hotmail.com>
> > To: users_at_subversion.tigris.org
> > Subject: Re: Cleaning up working copy
> > Date: Fri, 06 Aug 2004 14:48:41 +0000
> >
> > >When you've finished with a working copy, is there an easy way to
> > >clean it up? I know you can just delete the directories, but with all
> > >the hidden files lying around that can be non-trivial in a portable
> > >manner.
> >
> > Maybe you just want to "export" a revision? Check 'svn help export' and see
> > if that is what you really want to do.
> >
> > Marcos
> >
> > _________________________________________________________________
> > MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
> >
> email message attachment (users_15560.ezm)
> > -------- Forwarded Message --------
> > From: Roel Harbers <roel_at_roelharbers.nl>
> > To: users_at_subversion.tigris.org
> > Subject: Re: Cleaning up working copy
> > Date: Fri, 06 Aug 2004 17:03:15 +0200
> >
> > Ben Collins-Sussman wrote:
> >
> > > On Fri, 2004-08-06 at 04:13, Greg Thomas wrote:
> > >
> > >>When you've finished with a working copy, is there an easy way to
> > >>clean it up?
> > >
> > >
> > > Huh? I don't understand.
> > >
> > > 'rm -rf workingcopy'
> > >
> > > or
> > >
> > > 'deltree workingcopy'.... ?
> >
> > or 'rd /s workingcopy' for Win2K and XP
> >
> > The only thing that's stored about the wc outside the wc itself are the
> > stored credentials in the "%userprofile%\Application
> > Data\Subversion\auth" folder
> >
> > Regards,
> >
> > Roel Harbers
> >
> > ps. I just can't seem to grasp the idea of replying in mailing lists.
> > Sorry, Ben.
> >
> email message attachment (users_15653.ezm)
> > -------- Forwarded Message --------
> > From: S.Ramaswamy <ramaswamy_at_collab.net>
> > To: Ben Collins-Sussman <sussman_at_collab.net>
> > Cc: Greg Thomas <thomasgd_at_omc.bt.co.uk>, users_at_subversion.tigris.org
> > Subject: Re: Cleaning up working copy
> > Date: Mon, 09 Aug 2004 10:19:55 +0530
> >
> > On Fri, 2004-08-06 at 18:36, Ben Collins-Sussman wrote:
> > > On Fri, 2004-08-06 at 04:13, Greg Thomas wrote:
> > > > When you've finished with a working copy, is there an easy way to
> > > > clean it up?
> > >
> > > Huh? I don't understand.
> > >
> > > 'rm -rf workingcopy'
> > >
> > > or
> > >
> > > 'deltree workingcopy'.... ?
> > >
> > >
> > > > I know you can just delete the directories, but with all
> > > > the hidden files lying around that can be non-trivial in a portable
> > > > manner.
> > >
> > > Why does deleting a directory need to "portable"?
> > >
> > >
> > >
> >
> > Maybe Greg is looking for a command like "cvs release" ?
> >
> > https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_16.html#SEC150
> >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> > > For additional commands, e-mail: users-help_at_subversion.tigris.org
> >
> email message attachment (users_15659.ezm)
> > -------- Forwarded Message --------
> > From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
> > To: users_at_subversion.tigris.org
> > Subject: Re: Cleaning up working copy
> > Date: Mon, 09 Aug 2004 09:15:07 +0100
> >
> > On Mon, 09 Aug 2004 10:19:55 +0530, "S.Ramaswamy"
> > <ramaswamy_at_collab.net> wrote:
> >
> > >Maybe Greg is looking for a command like "cvs release" ?
> > >
> > >https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_16.html#SEC150
> >
> > Indeed - just the ticket. And to answer Ben's question
> >
> > On Fri, 06 Aug 2004 08:06:49 -0500, Ben Collins-Sussman
> > <sussman_at_collab.net> wrote:
> > >Why does deleting a directory need to "portable"?
> >
> > It's in a script. That may run on UNIX of Win32. Or, I suppose,
> > anything else that SVN supports. And I'm not sure how well deltree
> > copes with read-only files.
> >
> > Greg
> email message attachment (users_15666.ezm)
> > -------- Forwarded Message --------
> > From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
> > To: Greg Thomas <thomasgd_at_omc.bt.co.uk>
> > Cc: users_at_subversion.tigris.org
> > Subject: Re: Cleaning up working copy
> > Date: Mon, 09 Aug 2004 13:09:28 +0100
> >
> > On Mon, 09 Aug 2004 09:15:07 +0100, Greg Thomas
> > <thomasgd_at_omc.bt.co.uk> wrote:
> >
> > >On Mon, 09 Aug 2004 10:19:55 +0530, "S.Ramaswamy"
> > ><ramaswamy_at_collab.net> wrote:
> > >
> > >>Maybe Greg is looking for a command like "cvs release" ?
> > >>
> > >>https://www.cvshome.org/docs/manual/cvs-1.11.17/cvs_16.html#SEC150
> > >
> > >Indeed - just the ticket. And to answer Ben's question
> >
> > And as a PS; I suspect something like that may be essential when file
> > locking is introduced. Reading the locking_plan.txt, it appears that
> > the client gets a unique token with which the file is locked. Assuming
> > that this token is stored in the .svn directory in the wc, then
> > carelessly deleting the wc could leave the file locked permanently.
> > Obviously there will be a svnadmin rmlock command, but you'd want to
> > try and prevent users shooting their foot off as much as possible.
> >
> > Greg

I too would like something like CVS' release. ie a ''clean'' way to
remove a working copy that, say, checks everything's been commited and
then removes the given directory locally and removes all notes in the
repository 'admin' that I'd checked out the project. (I presume there is
some 'admin' mechanism that tracks who's checked out what?)

Thanks, Michael

PS: apols if this isn't the best way to reply (pls advise!)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-01-15 22:41:02 CET

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.