monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Monotone-devel] monotone update failed


From: Jan Gahura
Subject: RE: [Monotone-devel] monotone update failed
Date: Wed, 11 May 2005 00:15:24 +0200

Solved. Some Windows crap locked that directory so it was impossible to
delete/rename it. Restart solved the problem. 
I'm sorry. Thanks for your time guys. 

Jan Gahura
ALWIL Software
 
-----Original Message-----
From: Matthew Gregan [mailto:address@hidden 
Sent: Tuesday, May 10, 2005 11:27 PM
To: Jan Gahura; Jon Bright
Subject: Re: [Monotone-devel] monotone update failed

At 2005-05-10T14:38:55+0200, Jan Gahura wrote:
> I've just tried your monotone and I've got this error. I've tried to
> put one of my projects to the database on WinXP, checkout in on the
> linux machine (monotone-0.18, gentoo kernel 2.6.11, amd64), add a
> directory (GnuProject with two files) and commit changes (changes done
> on the linux). Then I synced the databases and tried to update
> database on WinXP. What's wrong?

I've tried to reproduce this problem from your description, but I
couldn't reproduce this problem.  Is there any chance you can write up a
step by step case to reproduce this problem?

At 2005-05-10T21:44:15+0200, Jon Bright wrote:
> >monotone: fatal: std::exception: boost::filesystem::rename: "Source", 
> >"MT\tmp\5": Access is denied.

> My best guess on this is that monotone/boost is at some level using
> rename() to move stuff about, and that this is failing on Win32 (NB:

It looks like we use boost::filesystem::rename everywhere bar one
place, and that's not the place that is causing the current problem.

> I've not looked at the code, I'm only guessing here).  I'll be able to
> look at this, but probably not until Thursday.  If someone else wants
> to take a look, the MSDN docs tell me that MoveFile() should do
> everything we want.

boost::filesystem::rename uses MoveFileA(), so I think that aspect is
already covered.

I'll keep looking into this as well...

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]