RE: Reverting an ADD status file after an update tree conflict deletes the file
From: Bert Huijben <bert_at_qqmail.nl>
Date: Mon, 14 Oct 2013 21:03:01 +0200
Hi,
The behavior you see is consistent with reverting a copied file.
When the tree conflict is added your local modification of the modified file
Local additions (with no prior history) are kept on revert, but copies are
This has the nice side effect that you can revert a ^C'ed merge. If we would
Bert
From: Bob Archer [mailto:Bob.Archer_at_amsi.com]
Perform the following steps.
1.Edit a file in a working copy
2.Delete that file in the repository (with the repo browser)
3.Update your working copy
4.Edit the tree conflict and specify "keep working copy"
5.The edited file now shows as an add
6.Revert the working copy
Observed:
The file with the add status is deleted.
Expected:
The "add" is removed and the file remains. Basically this is the
behavior you get when you revert a file that you just added. I would
expect reverting an added file to do the same thing whether the file
was marked as add from an update or from just adding it.
--- I reported this on the TSVN list and got a response of that how svn does it. Doesn't this go against the do no harm mantra? BObReceived on 2013-10-14 21:03:48 CEST |
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.