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

Re: Feature "delete file only in repository"?

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-06-08 10:20:59 CEST

On 08/06/07, Johannes Braunias <Johannes.Braunias@sonydadc.com> wrote:
> I'm using a complex directory structure as a working directory.
> Many people use the directory (only 2 SVN users, the others actually don't
> know about the .svn thing).
>
> I'd like to deactivate the version control for some of the files
> without deleting them locally.
>
> My ugly workaround:
> - Make a copy of the workingdir's to-delete file.
> - Delete file locally, commit with the deleted file checked in the dialog
> box,
> - [ok] (commit the deletion to the rep.),
> - update working directory
> - add the spare copy to the working dir and just don't check the unversioned
> file to commit.

You missed the last step. After moving the directory back as
unversioned, add it to the ignore list of its parent. That way you
won't have to worry about leaving it unchecked in the commit dialog as
it won't be there.

In 1.5.0 (to be released later in the year) there will be a single
step command to delete an item from the repository without deleting
the local copy, so that will save all the moving about.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Jun 8 10:21:46 2007

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