You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Ben Huchison <be...@ibsglobalweb.com> on 2006/05/02 01:59:54 UTC

Commits of Modified files seens as Deletes by Subversion

Hi all,

I am seeing a case where Subversion thinks a modified file has been 
deleted, and wants to do a Delete on commit, rather than Modify. The 
problem is visible in both Tortoise SVN and Eclipse+Subclipse.

It appears to happen to binary JAR files that are stored in the 
repository and get modified by our build scripts. Subversion seems to 
spuriously believe that a Delete has been done to the working copy.

Because the modification is regenerable, a workaround is to Revert the 
file, then rebuild the file, which then shows as a Modify.

Is this a known issue?

Regards
Ben



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Commits of Modified files seens as Deletes by Subversion

Posted by John Allen <jo...@dublinux.net>.
On Tue 02 May 2006 03:21, Ben Huchison wrote:
> I think with further testing I may have answered my own question. It
> seems to be a Subclipse issue. When you delete a working copy in
> Eclipse/Subsclipse, it seems to trigger a SVN Delete automatically.
>
> It seems to me local vs repository delete are not really the same thing
> and should not be automatically linked - agree?
>

When using Subclipse, if the delete only did a local delete, then how would 
you remove a file from the repo?

> Regards
> Ben
>
> Ben Huchison wrote:
> > Hi all,
> >
> > I am seeing a case where Subversion thinks a modified file has been
> > deleted, and wants to do a Delete on commit, rather than Modify. The
> > problem is visible in both Tortoise SVN and Eclipse+Subclipse.
> >
> > It appears to happen to binary JAR files that are stored in the
> > repository and get modified by our build scripts. Subversion seems to
> > spuriously believe that a Delete has been done to the working copy.
> >
> > Because the modification is regenerable, a workaround is to Revert the
> > file, then rebuild the file, which then shows as a Modify.
> >
> > Is this a known issue?
> >
> > Regards
> > Ben
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

-- 
John Allen                           mailto:john.allen@moyville.net
Mandriva Club Member(Silver)         http://www.moyville.net

Mandriva Linux release 2006.0 (Official) for i586, kernel 2.6.12-15mdk
 08:50:22 up 19:05,  1 user,  load average: 0.37, 0.27, 0.35

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Commits of Modified files seens as Deletes by Subversion

Posted by Ben Huchison <be...@ibsglobalweb.com>.
I think with further testing I may have answered my own question. It 
seems to be a Subclipse issue. When you delete a working copy in 
Eclipse/Subsclipse, it seems to trigger a SVN Delete automatically.

It seems to me local vs repository delete are not really the same thing 
and should not be automatically linked - agree?

Regards
Ben

Ben Huchison wrote:

> Hi all,
>
> I am seeing a case where Subversion thinks a modified file has been 
> deleted, and wants to do a Delete on commit, rather than Modify. The 
> problem is visible in both Tortoise SVN and Eclipse+Subclipse.
>
> It appears to happen to binary JAR files that are stored in the 
> repository and get modified by our build scripts. Subversion seems to 
> spuriously believe that a Delete has been done to the working copy.
>
> Because the modification is regenerable, a workaround is to Revert the 
> file, then rebuild the file, which then shows as a Modify.
>
> Is this a known issue?
>
> Regards
> Ben
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org