When I did the refactoring to separate UI from Repository code,
I introduced a bug that broke `darcs clone URL --lazy --tag .`.
I removed the nesting of the "goingToSpecifiedVersion code"
inside of a withRepositoryLock. The consequence is that obliterating
(so, downloading) patches cannot be done automatically since
the code does not know about the correct sources of the new repository.
The fix is quite easy. Also, I think the cloning code needs refactoring
since we can clearly avoid re-invoking so many times withRepository,
withRepoLock and such.
1 patch for repository http://darcs.net:
patch 508a3226433451e6f8a9e5fcc937f0efd026f7c6
Author: Guillaume Hoffmann <guillaumh@gmail.com>
Date: Fri Apr 3 17:47:48 ART 2015
* fix cloning with --lazy --tag .
Attachments
|