##// END OF EJS Templates
hgweb: use patch.diff() to make sensible diffs (issue1223, issue1258)...
hgweb: use patch.diff() to make sensible diffs (issue1223, issue1258) This gets us git diffs when enabled and doesn't pick erratic file parents.

File last commit:

r5338:f8768535 default
r7309:e74a9173 default
Show More
test-revlog-packentry
14 lines | 212 B | text/plain | TextLexer
/ tests / test-revlog-packentry
#!/bin/sh
hg init repo
cd repo
touch foo
hg ci -Am 'add foo'
hg up -C null
# this should be stored as a delta against rev 0
echo foo bar baz > foo
hg ci -Am 'add foo again'
hg debugindex .hg/store/data/foo.i