We could shift the update/create code from finalizeRepositoryChanges to the
end of main. That will work in most cases, unless darcs crashes somewhere
in the middle. That is okay, as the next run should take care of any
possible repository changes. There will be a small additional upkeep for
every run of darcs though.
Aditya.
On Thu, Aug 30, 2012 at 11:25 AM, Ganesh Sittampalam <bugs@darcs.net> wrote:
>
> New submission from Ganesh Sittampalam <ganesh@earth.li>:
>
> On Windows, ^C doesn't really work properly and just aborts darcs
> instead of being caught. This works out ok in practice with getting lazy
> repos.
>
> But with the patch index creation and some commands like pull it leaves
> the working directory out of date with respect to the pulled patches.
>
> As an aside we should provide a different interrupt mechanism on
> Windows..
>
> ----------
> messages: 16036
> nosy: ganesh
> status: unknown
> title: make sure to do patch index creation last
> topic: PatchIndex
>
> __________________________________
> Darcs bug tracker <bugs@darcs.net>
> <http://bugs.darcs.net/issue2226>
> __________________________________
> _______________________________________________
> darcs-devel mailing list
> darcs-devel@darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-devel
>
--
BSRK Aditya
Attachments
|