You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by michael <cs...@networkingnewsletter.org.uk> on 2008/01/15 21:40:38 UTC

Re: users Digest of: thread.15530

On Tue, 2008-01-15 at 21:31 +0000, users-help@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 <th...@omc.bt.co.uk>
> > To: users@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 <su...@collab.net>
> > To: Greg Thomas <th...@omc.bt.co.uk>
> > Cc: users@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 <mc...@hotmail.com>
> > To: users@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 <ro...@roelharbers.nl>
> > To: users@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 <ra...@collab.net>
> > To: Ben Collins-Sussman <su...@collab.net>
> > Cc: Greg Thomas <th...@omc.bt.co.uk>, users@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@subversion.tigris.org
> > > For additional commands, e-mail: users-help@subversion.tigris.org
> > 
> email message attachment (users_15659.ezm)
> > -------- Forwarded Message --------
> > From: Greg Thomas <th...@omc.bt.co.uk>
> > To: users@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"
> > <ra...@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
> > <su...@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 <th...@omc.bt.co.uk>
> > To: Greg Thomas <th...@omc.bt.co.uk>
> > Cc: users@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
> > <th...@omc.bt.co.uk> wrote:
> > 
> > >On Mon, 09 Aug 2004 10:19:55 +0530, "S.Ramaswamy"
> > ><ra...@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: users Digest of: thread.15530

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jan 15, 2008, at 15:59, Reedick, Andrew wrote:

>> -----Original Message-----
>> From: michael [mailto:cs@networkingnewsletter.org.uk]
>> Sent: Tuesday, January 15, 2008 4:41 PM
>> To: users@subversion.tigris.org
>> Subject: Re: users Digest of: thread.15530
>>
>>
>> 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?)
>
> 	Run 'svn status' to get a list of outstanding items in your
> workspace.  Resolve any issues.  If you use locks, then you would need
> to 'svn unlock' your locks.  There's no built-in automated way of  
> doing
> so since locks aren't normally used.  Run 'svn status' again  
> because you
> just know you've missed something.  Then run 'rm -rf' or deltree or  
> 'rd
> /s/q' or 'degauss' on the workspace.
>
> Unlocking stuff you locked in this workspace:
> 	svn status | grep '^.....K' | sed 's/^...... //' | xargs svn
> unlock

And no, there is no mechanism in the repository that keeps track of  
who checked out what. When you're done with a working copy, just  
delete it from your local disk and you're done.



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

RE: Re: users Digest of: thread.15530

Posted by "Reedick, Andrew" <jr...@ATT.COM>.
> -----Original Message-----
> From: michael [mailto:cs@networkingnewsletter.org.uk]
> Sent: Tuesday, January 15, 2008 4:41 PM
> To: users@subversion.tigris.org
> Subject: Re: users Digest of: thread.15530
> 
> 
> 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?)
> 

	Run 'svn status' to get a list of outstanding items in your
workspace.  Resolve any issues.  If you use locks, then you would need
to 'svn unlock' your locks.  There's no built-in automated way of doing
so since locks aren't normally used.  Run 'svn status' again because you
just know you've missed something.  Then run 'rm -rf' or deltree or 'rd
/s/q' or 'degauss' on the workspace.

Unlocking stuff you locked in this workspace:
	svn status | grep '^.....K' | sed 's/^...... //' | xargs svn
unlock 


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