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

Re: Possible bug moving file and then deleting directory

From: Mark Phippard <markphip_at_gmail.com>
Date: Thu, 23 Jun 2011 09:09:17 -0400

If you re-read the FAQ, you will see that no one disagrees with you. This
is simply how it has to work based on Subversion's design.

On Thu, Jun 23, 2011 at 9:07 AM, Patrick Quirk <P.Quirk_at_smt.com> wrote:

> **************
>
> Using the Collabnet binaries rolled from r1136035 I see the same behavior
> using the script from my original email.****
>
> ** **
>
> It does sound pretty similar to 3526, though my repro script is a bit
> different. However I created a script to reproduce issue 3526 and that also
> fails for me. To summarize, both of these sets of steps have the same
> outcome:****
>
> ** **
>
> Issue 3526:****
>
> **1.) **Add a file in a directory, commit****
>
> **2.) **Delete that directory, commit fails saying the directory is
> not up to date****
>
> **3.) **Update -> tree conflict****
>
> ** **
>
> My initial email:****
>
> **1.) **Add a file in a directory, commit****
>
> **2.) **Move that file to another directory, commit****
>
> **3.) **Delete the first directory, commit fails saying the directory
> is not up to date****
>
> **4.) **Update -> tree conflict****
>
> ** **
>
> Regarding Markís pointer to the FAQ, I realize the tree conflicts are
> expected behavior in a sense, but I feel like the steps before that should
> work regardless. Especially since Iím committing at a level above the
> directory in question that does have operations done on it to advance the
> current revision number. I doubt anyone would know that an update is
> required in the middle of these steps.****
>
> ** **
>
> Iíve attached the script I used to reproduce 3526, maybe someone could
> review it and make sure Iím matching what the issue is describing, and
> confirm that it does/doesnít work for them either? Itís a windows batch
> file (zipped and renamed).****
>
> ** **
> ------------------------------
>
> *From:* Johan Corveleyn [mailto:jcorvel_at_gmail.com]
> *Sent:* Wednesday, June 22, 2011 7:03 PM
> *To:* Mark Phippard
> *Cc:* **Patrick Quirk**; users_at_subversion.apache.org
> *Subject:* Re: Possible bug moving file and then deleting directory****
>
> ** **
>
> It seems this behavior has changed in 1.7 (to be released soon). It will no
> longer flag this as a tree conflict. See
> http://subversion.tigris.org/issues/show_bug.cgi?id=3526.
>
> AFAICS, the case described here is similar to the one described in issue
> #3526.
>
> Patrick, if you have some time, maybe you can test this with one of the
> pre-releases of 1.7? See
> http://subversion.apache.org/packages.html#pre-release.
>
> Cheers,
> --
> Johan****
>
> On Wed, Jun 22, 2011 at 10:44 PM, Mark Phippard <markphip_at_gmail.com>
> wrote:****
>
> See http://subversion.apache.org/faq.html#self-tree-conflict****
>
> ** **
>
> On Wed, Jun 22, 2011 at 4:04 PM, **Patrick Quirk** <P.Quirk_at_smt.com>
> wrote:****
>
> Iíve run into this issue the past few days and I donít feel like this is
> expected behavior. Iím using client version 1.6.17 (Collabnet binaries).*
> ***
>
> ****
>
> Simply put, I move a single file, commit that, then try to delete the
> directory the file was in (itís empty now) and commit that. This fails,
> saying the directory Iím attempting to commit/delete is out of date. If I
> update it, I get a tree conflict. ****
>
> ****
>
> Am I wrong in expecting this to work without an update in the middle? Iíve
> provided a batch file to reproduce the behavior on a Windows machine (unzip
> and then change the fileís extension to .bat).****
>
> ****
>
> Thanks****
>
> Patrick****
>
> ****
>
> ****
>
> ****
>
> ****
>
> **Patrick Quirk**
> GEM Software Engineer
> ****3511 University Drive****
> ****Durham** **NC** **27707****
> 919-354-4762
> p.quirk_at_smt.com <p.quirk_at_sportsmedia.com>
> www.sportsmedia.com ****
>
> ****
>
>
>
> ****
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/****
>
> ** **
>

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/

image001.gif
Received on 2011-06-23 15:09:49 CEST

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