hg clone vs. VFAT problem
Sebastian Krämer
mail at kraymer.de
Wed Oct 1 07:01:16 CDT 2008
Adrian Buehlmann schrieb am 30.09.2008 14:39:
> On 30.09.2008 12:26, Sebastian Krämer wrote:
>
>> This all is kind of sad. I had high hopes that mercurial would enable
>> me to
>> transfer source code between platforms.
>>
>
> Sure it does.
>
I know. :)
>> Of course, hg itself probably does
>> that -- I might try to change the usb stick filesystem to ntfs and
>> see if
>> that helps. After all I'm wondering about the small count of error
>> reports
>> I found on the web :) . Am I overlooking something? Or am I the only one
>> who transfers source code from/to windows with a mobile device?
>>
>
> The repository format on unix/Linux and windows is the same, so you
> can copy the files between them (as long as you don't hit the
> maximum path length limit of 260 characters on Windows).
>
> So, as a workaround, you can copy the repository root directory
> to the usb stick using normal recursive directory copy commands
> (e.g. "cp -R" on FreeBSD).
>
Ah ok, I admit I didn't consider that (although it's quite obvious). On
the other hand, I still want to do it "the mercurial way", reason being
that I don't want to guarantee that there are never any changes on the
one or other system that would get overwritten. When copying, I *really*
have to make sure that I always have the most recent copy before making
local changes, and I don't like that.
But thanks for your answer, it's appreciated.
For the record, I solved the problem by ntfs'ing the usb stick, I
figured that write support via ntfs-3g is good enough to depend on for
this purpose.
Sebastian
More information about the Mercurial
mailing list