Matt Mackall
3dfe783ec5
transactions: avoid late tear-down (issue641)
...
We use weak references (ugh) to avoid having to manually delete
transaction references out of each call frame when an exception occurs.
2007-07-22 14:53:57 -05:00
Eric Hopper
964ff0a5e3
Change branches to sort 'active' branches first, and add an option to show only active branches.
2007-06-21 10:40:09 -07:00
Brendan Cully
988e3fb1da
Fix up tests for new branch message
2007-06-18 11:13:16 -07:00
Alexis S. L. Carvalho
fd69fe8d91
"default" is the default branch name
2007-03-13 15:02:33 -03:00
Thomas Arendsen Hein
92fa573aed
Store empty (default) branch in branch cache, too.
...
Operations on this branch don't work otherwise.
Reading branches.cache had to be adjusted to allow an empty label.
Adjusted reading of the cache tip for symmetry, no functional change here.
2007-03-09 18:09:02 +01:00
Alexis S. L. Carvalho
63ae667098
Use UTF-8 in .hg/branch
2006-12-10 20:35:28 -02:00
Matt Mackall
03f3b2efc4
make transcoding more robust
...
default to ASCII
abort if unknown encoding
wrap abort strings with _
add test
2006-12-09 12:46:01 -06:00
Thomas Arendsen Hein
092e05b0b9
Fixes test-encoding for python2.3 and minor cleanups:
...
- Use koi8-r instead of euc-jp, as the later isn't available in python2.3.
- Add unicode representation for latin1 e', too.
- Use date "1000000 0" like in other tests (though not strictly needed
because we no longer use %c as default datestr format).
2006-12-09 11:16:27 +01:00
Alexis S. L. Carvalho
edf9fef62b
Allow the user to specify the fallback encoding for the changelog
...
Example: use EUC-JP instead of ISO-8859-1:
[ui]
fallbackencoding = EUC-JP
2006-12-08 22:01:05 -02:00
Alexis S. L. Carvalho
2b3be537b8
log: convert branch names to the local encoding
2006-12-08 01:36:50 -02:00
Matt Mackall
880daa82ce
Make quoting in test-encoding simpler
2006-12-04 14:32:02 -06:00
Matt Mackall
18df2fdfd7
test-encoding: copy a bundle from TESTDIR rather than constructing one
2006-12-03 17:28:58 -06:00
Matt Mackall
37b816aaf1
Add output for encoding test
2006-12-03 16:31:25 -06:00