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

Re: Re: bug when removing a svn:external which point to a file

From: Jérôme GLATIGNY <j.glatigny_at_sbt.fr>
Date: Fri, 15 Oct 2010 13:13:37 +0200

> Am 15.10.2010 11:30, schrieb Jérôme GLATIGNY:
> >
> > I have a strange behavior with externals on files.
> >
> > * Open "property" dialog on a folder (which is checkout)
> > * Set a svn:externals, like : ^/project2/trunk/myfile.txt myfile.txt
> > * Update : The file appears.
> > * Remove the svn:externals for this file.
>
> Please update your working copy at this point first. That should fix
> this problem.
>
> > * Remove the file manualy. "tortoise => delete" can't delete, a
message
> > box explains that we have to remove the external.
> > * Update : The file reappears.
> > * Remove the file, again.
> > * "Tortoise => revert" : the dialog shows that "myfile.txt" is
missing.
> >
> > The only way to remove the file is to remove the entire folder and
update
> > his parent.
>
> You're missing a step, that's why. Deleting folders from a working copy
> shouldn't be necessary (except some rare cases).
>
> Felix

It's something I have test and nothing changes.

* add the external.
* update => file checkout by external.
* remove the external.
* update => file still here and still appear as versioned.
* remove the file manualy.
* update => file recreated.

The file is recreated because it is present in the ".svn" directory, the
svn cache is not clean.
When I remove the external (just after removing and just after the
update),

- the file " .svn/text-base/myfile.txt.svn-base " is still present.
- "dir-props" is updated correctly.
- "all-wcprops" isn't updated.
- "entries" is updated for props part but file part is still present
(then, it's not updated)

example of what is still present in "entries" file:
   34f4f740-1756-44bc-a4fd-8a03a8797849

   myfile.txt
   file

   http://myserver/svn/project2/trunk/myfile.txt

   2010-10-15T09:40:58.948501Z
   754532fdd74e7a6f9715bf4c9999fd58
   2010-10-14T11:33:03.171103Z
   4990
   glatigny

Regards,
Jerome

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2672325

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-10-15 13:14:25 CEST

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

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