Mercurial > hg
view tests/test-relink.out @ 10827:b66388f6adfa
color: don't split colors across lines (which confuses less -R)
Currently, less -R doesn't support colors spanning multiple lines; only
the first line will be colorized.
Instead of allowing colors to span multiple lines, the color extension
now applies colors to each line it receives, even when ui.write() is
given multiple lines in one call.
author | Brodie Rao <brodie@bitheap.org> |
---|---|
date | Fri, 02 Apr 2010 15:22:19 -0500 |
parents | e930017f9e2a |
children | 412a6e749f8d |
line wrap: on
line source
% create source repository adding a adding b % clone and pull to break links requesting all changes adding changesets adding manifests adding file changes added 1 changesets with 2 changes to 2 files updating to branch default 2 files updated, 0 files merged, 0 files removed, 0 files unresolved created new head % relink relinking .hg/store collected 5 candidate storage files not linkable: 00changelog.i not linkable: 00manifest.i not linkable: data/b.i pruned down to 2 probably relinkable files relinking: data/a.i 1/2 files (50.00%) not linkable: data/dummy.i relinked 1 files (136 bytes reclaimed) % check hardlinks repo/.hg/store/data/a.i == clone/.hg/store/data/a.i repo/.hg/store/data/b.i != clone/.hg/store/data/b.i