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

Reverting schedule-deleted items

From: Giulio Troccoli <Giulio.Troccoli_at_uk.linedata.com>
Date: 2006-10-05 16:50:39 CEST

I am using Subversion 1.3.0 (r17949) on an AIX system and I have noticed this strange behaviour. I'd like to know if anybody else has experienced it and/or I am doing something wrong. If not I will post an issue.

I have delete an whole directory (dip/dscomms) and it has been scheduled correctly

agrippina[ksh]%src>svn status -q
D dip/dscomms/dsCommsLogin.c
D dip/dscomms/dsCommsSystemParameters.c
D dip/dscomms/dsCommsConnect.c
D dip/dscomms/dsCommsDisconnect.c
D dip/dscomms/dsCommsSend.c
D dip/dscomms/dsCommsInitialise.c
D dip/dscomms/makefile.svn
D dip/dscomms/dsCommsWaitForUpdate.c
D dip/dscomms/dscomms_local.h
D dip/dscomms/dsCommsSimulator.c
D dip/dscomms/dsCommsGlobals.c
D dip/dscomms/dsCommsChooseDLIVE.c
D dip/dscomms/dsCommsInvokeAPI.c

Then I have changed my mind and revert it

agrippina[ksh]%src>svn revert dip/dscomms
Reverted 'dip/dscomms'

Here the first problem. The files are NOT restored from the BASE and the dip/dscomms directory is empty

agrippina[ksh]%src>ls dip/dscomms
agrippina[ksh]%src>

And the files are STILL scheduled for deletion

agrippina[ksh]%src>svn status -q
D dip/dscomms/dsCommsLogin.c
D dip/dscomms/dsCommsSystemParameters.c
D dip/dscomms/dsCommsConnect.c
D dip/dscomms/dsCommsDisconnect.c
D dip/dscomms/dsCommsSend.c
D dip/dscomms/dsCommsInitialise.c
D dip/dscomms/makefile.svn
D dip/dscomms/dsCommsWaitForUpdate.c
D dip/dscomms/dscomms_local.h
D dip/dscomms/dsCommsSimulator.c
D dip/dscomms/dsCommsGlobals.c
D dip/dscomms/dsCommsChooseDLIVE.c
D dip/dscomms/dsCommsInvokeAPI.c

As another proof that the items a re still scheduled for deletion, if I try and commit the changes Subversion still tries to delete them

agrippina[ksh]%src>svn commit -m"kasj"
Deleting dip/dscomms/dsCommsChooseDLIVE.c
Deleting dip/dscomms/dsCommsConnect.c
Deleting dip/dscomms/dsCommsDisconnect.c
Deleting dip/dscomms/dsCommsGlobals.c
Deleting dip/dscomms/dsCommsInitialise.c
Deleting dip/dscomms/dsCommsInvokeAPI.c
Deleting dip/dscomms/dsCommsLogin.c
Deleting dip/dscomms/dsCommsSend.c
Deleting dip/dscomms/dsCommsSimulator.c
Deleting dip/dscomms/dsCommsSystemParameters.c
Deleting dip/dscomms/dsCommsWaitForUpdate.c
Deleting dip/dscomms/dscomms_local.h
Deleting dip/dscomms/makefile.svn
svn: Commit failed (details follow):
svn: MERGE request failed on '/svn/src/dip/dscomms'
svn: 'pre-commit' hook failed with error output:

The message is made up so that the pre-commit script will fail, or otherwise I would have deleted the files which I don't want to do.

-------------------
Giulio Troccoli
Technical Consultant
 
Linedata Services (UK) Ltd. Bishopsgate Court, 4-12 Norton Folgate, London E1 6DB
T +44 (0)20 7360 1914   F +44 (0)20 7360 1974
E giulio.troccoli@uk.linedata.com   W www.linedata.com
MSN Messenger giulio@troccoli.it

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 5 17:24:57 2006

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.