[darcs-devel] [issue665] Odd progress report message when reverting

Ori Avtalion bugs at darcs.net
Fri Feb 8 21:04:34 UTC 2008


New submission from Ori Avtalion <ori at avtalion.name>:

When a large "revert" operation takes place, the user is greeted to the message:
  "Reading inventory of repository /home/me/devel/project inventory"
which in time turns into "Finished reverting."

The last word, "inventory", is out of place.

The line is printed by finishedOneIO in read_repo_private
[src/Darcs/Repository/DarcsRepo.lhs]

Since reading the inventory file is the only IO operation in read_repo_private
(or more precisely: finishedOneIO is called only once), there is no "progress"
to report.

The message would make more sense if there were other files being read and the
the word "inventory" would have been replaced by their names, to show the
progress. But, this isn't the case here.

----------
messages: 3247
nosy: beschmi, droundy, kowey, salty-horse, tommy
priority: bug
status: unread
title: Odd progress report message when reverting

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue665>
__________________________________


More information about the darcs-devel mailing list