[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] "mtn pull" hangs (was: "mtn clone" hangs)
From: |
Ralf S. Engelschall |
Subject: |
Re: [Monotone-devel] "mtn pull" hangs (was: "mtn clone" hangs) |
Date: |
Thu, 15 Nov 2007 22:40:25 +0100 |
User-agent: |
Mutt/1.5.17 OpenPKG/CURRENT (2007-11-01) |
On Wed, Nov 14, 2007, William Uther wrote:
> On 13/11/2007, at 10:35 PM, Ralf S. Engelschall wrote:
>>> I have no idea why the file:// URL would be failing (other than on
>>> Windows). This is tested for in
>>> the unit test "netsync_over_pipes". What platform are you running on?
>>> Is
>>> the db you're pulling from local, or on some file server?
>>
>> It is Monotone 0.37 under FreeBSD 6.2 and the database is on
>> the local UFS filesystem. If I pull from the same database via
>> ssh://localhost/<path> instead of file:<path> everything works just
>> fine. The problem seems to be really related to the "file" I/O.
>
> Can you make it fail with a small test case?
Yes, of course. Here it comes:
| $ mtn --db=test.db db init
| $ mkdir test
| $ cd test
| $ mtn --db=/tmp/test.db setup -b test .
| $ echo "foo" >foo.txt
| $ mtn add foo.txt
| mtn: adding foo.txt to workspace manifest
| $ mtn ci -m "add foo.txt"
| mtn: beginning commit on branch 'test'
| mtn: committed revision 6b5a5ad68d2bda38351cf64e1556b11e202df08b
| $ mtn --db=/tmp/test2.db db init
| $ mtn --db=/tmp/test2.db pull file:///tmp/test.db test
| mtn: doing anonymous pull
| mtn: connecting to file:///tmp/test.db
| mtn: finding items to synchronize:
> The freebsd buildbot passes the "netsync_over_pipes" test.
Hmmm...
Ralf S. Engelschall
address@hidden
www.engelschall.com