Open Bug 532104 Opened 15 years ago Updated 8 years ago

hgweb doesn't show when a file got deleted

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

People

(Reporter: Biesinger, Unassigned)

References

()

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/660] )

See the URL - the log for this file has no indication at all that the file got deleted or which changeset that happened in. It'd be nice if hgweb did the equivalent of hg log --removed.
Even if that would make it much slower?
I think "not misleading" is more important than "fast". How slow would it be?
Try hg log <file> vs. hg log --removed <file>. (The first is O(file changes), the second is O(number of csets in the repo)).
That seems like an amazingly inefficient implementation for a common operation...

How about making this the default if the file doesn't exist on the tip anymore?
Yeah, it's a little bit silly. We might be able to do something like that, not sure if 'tip' is the best reference (f.e. in the face of named branches).
Product: mozilla.org → Release Engineering
Product: Release Engineering → Developer Services
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/144]
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/144] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/660] [kanban:engops:https://kanbanize.com/ctrl_board/6/144]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/660] [kanban:engops:https://kanbanize.com/ctrl_board/6/144] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/660]
You need to log in before you can comment on or make changes to this bug.