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

Re: Cleanup needed after failed update

From: Ulrich Eckhardt <ulrich.eckhardt_at_dominolaser.com>
Date: Tue, 12 Jun 2012 14:22:42 +0200

Am 12.06.2012 13:52, schrieb Justin Case:
> In any case, I certainly hope the new version doesn't expect from me,
> the user, telling it whether the lock is a stale one or if there's
> some other command hanging on it...

Put that into the context of the error message:

> Update
> Previous operation has not finished; run 'cleanup' if it was
> interrupted
> Please execute the 'Cleanup' command.

Only you (the user) knows "if it was interrupted" or is maybe still
running! I would say that this message could be improved[0], but
otherwise the behaviour when encountering a lock is nothing that could
be improved much, it really relies on the user to make an informed
decision. This is not different from older SVNs though, only that the
location in only one spot (central metadata location) hopefully improved
the cleanup speed.

Other than that, update could probably fail without keeping the working
copy locked. Depending on the internals, this could be complex though,
or leave the working copy in a state of mixed revisions.

Uli

[0] "Previous operation has not finished; Wait for it to finish or run
'cleanup' if it was interrupted." In no case should it suggest running
cleanup unconditionally, as it does now.

**************************************************************************************
Domino Laser GmbH, Fangdieckstraße 75a, 22547 Hamburg, Deutschland
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932
**************************************************************************************
Visit our website at http://www.dominolaser.com
**************************************************************************************
Diese E-Mail einschließlich sämtlicher Anhänge ist nur für den Adressaten bestimmt und kann vertrauliche Informationen enthalten. Bitte benachrichtigen Sie den Absender umgehend, falls Sie nicht der beabsichtigte Empfänger sein sollten. Die E-Mail ist in diesem Fall zu löschen und darf weder gelesen, weitergeleitet, veröffentlicht oder anderweitig benutzt werden.
E-Mails können durch Dritte gelesen werden und Viren sowie nichtautorisierte Änderungen enthalten. Domino Laser GmbH ist für diese Folgen nicht verantwortlich.
**************************************************************************************
Received on 2012-06-12 14:23:20 CEST

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.