remote-hg: fix handling of file perms when pushing
authorMax Horn <max@quendi.de>
Tue, 15 Jan 2013 13:02:39 +0000 (14:02 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 15 Jan 2013 18:01:11 +0000 (10:01 -0800)
commit3968e302f8d09104da9ede15079f1133df6d3b68
tree0ff02242dfd67928840d7a3aea5fca323c99445d
parenteacf0117752780bf418d352a6ad2f033aeda1cce
remote-hg: fix handling of file perms when pushing

Previously, when changing and committing an executable file, the file
would loose its executable bit on the hg side. Likewise, symlinks ended
up as "normal" files". This was not immediately apparent on the git side
unless one did a fresh clone.

Signed-off-by: Max Horn <max@quendi.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/git-remote-hg
contrib/remote-helpers/test-hg-hg-git.sh