Copyright (C) 2005-2007 Matt Mackall <email address hidden> and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
zerok@akira:~/tmp/test$
---------------------------------------------------------------------
(Note: galaxy had version 0.9.3 of hg (with python 2.4.4) running while this test was conducted, akira was on hg 0.9.4 with python 2.5.1)
At least when I look at this output it seems like hg is uniformly expanding the characters (similar to what the coreutils do) while bzr operates on two different names.
Just some observations under MacOSX with a custom bash and coreutils (to get at least some UTF-8 support in there ;-))
------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ~/tmp/test$ echo $SHELL ~/tmp/test$ $SHELL --version apple-darwin8. 8.0) ~/tmp/test$ echo $LC_ALL ~/tmp/test$ gls -a ~/tmp/test$ gtouch "æøÜÉ" ~/tmp/test$ gls -a ~/tmp/test$ bzr init ~/tmp/test$ bzr add ~/tmp/test$ gls -a ~/tmp/test$ bzr commit -m "test" ~/tmp/test$ echo "test" >> "æøÜÉ" ~/tmp/test$ gls -a ~/tmp/test$ bzr status ~/tmp/test$ bzr diff xc3\xb8\ xc3\x9c\ xc3\x89' ------- ------- ------- ------- ------- ------- ------- ------- ------
zerok@akira:
/opt/sw/bin/bash
zerok@akira:
GNU bash, version 3.2.0(1)-release (powerpc-
Copyright (C) 2005 Free Software Foundation, Inc.
zerok@akira:
en_US.UTF-8
zerok@akira:
. ..
zerok@akira:
zerok@akira:
. .. æøÜÉ
zerok@akira:
zerok@akira:
added "æøÜÉ"
zerok@akira:
. .. .bzr æøÜÉ
zerok@akira:
added æøÜÉ
Committed revision 1.
zerok@akira:
zerok@akira:
. .. .bzr æøÜÉ
zerok@akira:
removed:
æøÜÉ
unknown:
æøÜÉ
zerok@akira:
=== removed file '\xc3\xa6\
-------
The difference in the filenames (removed vs. unknown) is not visible in the terminal. There both look like the first one.
hg somehow manages the same situation and also seems to stay workable on a more or less similarly configured Linux box.
------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ~/tmp/test$ gtouch "æøÜÉ" ~/tmp/test$ hg init ~/tmp/test$ hg add ~/tmp/test$ hg commit ~/tmp/test$ gls -a ~/tmp/test$ echo "test" >> "æøÜÉ" ~/tmp/test$ hg status ~/tmp/test$ hg --version
zerok@akira:
zerok@akira:
zerok@akira:
adding æøÜÉ
zerok@akira:
zerok@akira:
. .. .hg æøÜÉ
zerok@akira:
zerok@akira:
M æøÜÉ
zerok@akira:
Mercurial Distributed SCM (version 0.9.4)
Copyright (C) 2005-2007 Matt Mackall <email address hidden> and others ~/tmp/test$ ------- ------- ------- ------- ------- ------- ------- ------- ------
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
zerok@akira:
-------
------- ------- ------- ------- ------- ------- ------- ------- ------- ------ ~/tmp/test$ hg update ~/tmp/test$ ls -a ------- ------- ------- ------- ------- ------- ------- ------- ------
zerok@galaxy:
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
zerok@galaxy:
. .. æøÜÉ .hg
-------
(Note: galaxy had version 0.9.3 of hg (with python 2.4.4) running while this test was conducted, akira was on hg 0.9.4 with python 2.5.1)
At least when I look at this output it seems like hg is uniformly expanding the characters (similar to what the coreutils do) while bzr operates on two different names.
I hope this is useful.