subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ulrich Eckhardt <ulrich.eckha...@dominolaser.com>
Subject Re: Cleanup needed after failed update
Date Tue, 12 Jun 2012 12:22:42 GMT
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.
**************************************************************************************


Mime
View raw message