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

Re: [TortoiseSVN 1.6.6, Build 17493 - 64 Bit] Delete actually deletes files

From: Lübbe Onken <luebbe.tortoisesvn_at_googlemail.com>
Date: Fri, 06 Nov 2009 08:27:16 +0100

Alex Kay wrote:
> Hello,
> I'm using TortoiseSVN 1.6.6, Build 17493 - 64 Bit on Windows 7 Pro x64.

Must be something specific to Windows 7 in the 64 bit version ;)

> My repository is up-to-date, no changes.

 From the rest of your post I reckon that you are confusing "repository"
(the part on the server) and "working copy" (the part on the client).

> I'm trying to delete a file using TSVN's Delete command.
> Instead of marking the repo as modified and deleting the file on
> commit, my file is actually being deleted and repo is not marked as
> changed.

This is correct behaviour apart from the last bit. When you delete a
file using TortoiseSVN, it is deleted in the working copy first and the
working copy is marked as modified. You may however have an issue that
the "modified" overlay icon doesn't show up. Does it update when you hit
F5 in explorer?

> When I try to do Commit, it shows deleted file as missing.

Correct behaviour. The file is missing from the working copy, so TSVN
shows this and asks if you want to commit your deletion.

> If I do Updated, it "restores" the missing file.

Correct behaviour too. Otherwise you would have to jump through hoops to
get your file back when you deleted it accidentally and even cleaned
your recycle bin.

> That's something new with this version.

No, thats standard behaviour. The only thing which may be wrong is that
the icon overlay doesn't refresh after you deleted the file.
Now my question: Did you a) really delete the file using the TSVN
context menu or did you b) just delete it behind TortoiseSVNs back in
windows explorer? And if you used a) the TSVN context menu, did you give
the windows explorer a few seconds to redraw the overlays? I guess you
did b), which would explain why the overlay didn't change.

- Lübbe

   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net  PGP Key ID 0x23F511AB
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-11-06 08:26:22 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.