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

[Subclipse-dev] [PATCH] Fix revert of added folder with children

From: Paul Lorenz <plorenz_at_gmail.com>
Date: 2006-01-29 01:37:56 CET

There is a problem with revert where if you first schedule an add of a
folder with children then try to revert both, it will first revert the
folder and then try to revert the children, which will have already
been reverted by the parent. The revert of the child will then fail,
halting the revert process.

Attached is a patch to fix this problem. It first sorts all the
resources so that they are ordered alphabetically by parent, child.
Then while reverting, if it detects a folder which was scheduled to be
added, it will skip any following entries which are children of the
folder.

Comments?

Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: dev-help@subclipse.tigris.org

Received on Sun Jan 29 01:38:09 2006

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

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