brz and symlinks inside branch checkout
Martin Steigerwald
martin at lichtvoll.de
Thu May 31 07:40:53 UTC 2018
Hi!
I have a file in a directory inside my home directory that is linked to
ecryptfs encrypted Private directory and thus is in a different
filesystem than ~.
brz 3.0.0~bzr6964-1 does not work with this:
%> brz revert .symlink-to-directory-in-Private/somefile
M Private/.symlink-to-directory-in-Private/somefile
brz: ERROR: Unprintable exception TransformRenameFailed: dict={'errno':
18, 'from_path': u'/home/someuser/Private/.symlink-to-directory-in-
Private/somefile', 'to_path': u'/home/someuser/.bzr/checkout/limbo/
new-1', 'why': '[Errno 18] Ung\xc3\xbcltiger Link \xc3\xbcber Ger
\xc3\xa4tegrenzen hinweg'}, fmt='Failed to rename %(from_path)s to %
(to_path)s: %(why)s', error=UnicodeDecodeError('ascii', '[Errno 18] Ung
\xc3\xbcltiger Link \xc3\xbcber Ger\xc3\xa4tegrenzen hinweg', 14, 15,
'ordinal not in range(128)')
(german text means "invalid cross-device link")
%> LANG=C brz revert .symlink-to-directory-in-Private/somefile
M Private/.symlink-to-directory-in-Private/somefile
brz: ERROR: Failed to rename /home/someuser/Private/.symlink-to-
directory-in-Private/somefile to /home/someuser/.bzr/checkout/limbo/
new-1: [Errno 18] Invalid cross-device link
Is there any way around this limitation that a repository needs to
reside on one and the same filesystem, any way to handle sym links
transparently?
Thanks,
--
Martin
More information about the bazaar
mailing list