Fossil SCM

Empty repository reports strange compression ratio

Closed

d457feb387741bc… · opened 16 years, 6 months ago

Type
Code_Defect
Priority
Severity
Minor
Resolution
Works_As_Designed
Subsystem
Created
Sept. 24, 2009 2:20 a.m.

Steps to reproduce:

1 Create a new, empty fossil repository 2 Invoke fossil ui for the repository 3 Navigate to the stats page

Expected behavior:

Compression ratio is 1:1 (1 artifact stored as full text) or perhaps blank.

Actual behavior:

Compression ratio is reported as 0:10, which doesn't make sense.


lrem added on 2011-09-13 15:03:29 UTC: The ratio is always described as x:10, what makes it quite nicely readable. Then, if there are no artifacts, x is undefined. Displaying it as 0 is as good as 10 or whatever else, but looks nicer (suggests, that the value does not have much sense).


Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button