Bazaar project shared on Windows and Linux

Aaron Bentley aaron at aaronbentley.com
Fri Jul 25 16:52:06 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

guerinp at magic.fr wrote:
> Hello,
> 
> I'm a C++ developer (alone) and need to use a tool such as Bazaar for a
> project which runs on Windows and GNU/Linux (Ubuntu Hardy).
> These two computer are in the same LAN.
> The project is mainly developed on a Windows computer (Windows 2000 SP4)
> From Ubuntu, I mount the drive shares with samba.
> 
> I have some questions :
> - The Bazaar files seem to be compatible regardless of the OSes. Are
> they really ?
> - If they are, I experience the following:
> 
>    I create two test directories with the same source files, one on a
> Fat32 filesystem and one on NTFS.
>    On Windows (Fat32 ou NTFS filesystem)
>    bzr init
>    bzr add
>    bzr commit
>    bzr status
>        (nothing)
> 
>    On Linux (Fat32 filesystem mount)

Repositories and branches don't care what kind of filesystem they're on,
but working trees do.

I would strongly recommend using a proper POSIX filesystem like ext3 or
even NFS on Linux.  We do vary our behavior depending on platform, so
when you run under Linux, a POSIX filesystem is expected, with support
for the execute bit.  When you run under Windows, we assume the
filesystem is NTFS-like, and work around the lack of support for the
execute bit.

Since you are using a LAN, I suggest having a central branch with no
working tree, and a lightweight checkout on each of your machines.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIifam0F+nu1YWqI0RAuJvAJ4yp4qiOGg16CUKTOAgERQlTnbqKwCfTG9H
+mqWu89VYiVxu1WtPf/EmZI=
=bVcU
-----END PGP SIGNATURE-----



More information about the bazaar mailing list