Checkin gives error "abort: There is noMercurialrepositoryhere(.hg not found)!" on TortoiseHg/Windows version

jens.lund at nordea.com jens.lund at nordea.com
Thu Nov 12 07:54:49 CST 2009


Hi

Does the further information below help giving anybody any clues that
can help me solving my problem, where the second of two commits fail on
Windows with the TortoiseHg installer?

Any other ideas as to in which direction to look for a solution?

Jens 

> -----Original Message-----
> From: Lund, Jens 
> Sent: Sunday, November 08, 2009 11:54 PM
> To: 'Matt Mackall'
> Cc: 'benoit.boissinot at ens-lyon.org'; 'mercurial at selenic.com'
> Subject: RE: Checkin gives error "abort: There is 
> noMercurialrepositoryhere(.hg not found)!" on 
> TortoiseHg/Windows version
> 
> > From: Matt Mackall [mailto:mpm at selenic.com] 
> > On Fri, 2009-11-06 at 15:56 +0100, jens.lund at nordea.com wrote:
> > > > From: Matt Mackall [mailto:mpm at selenic.com] 
> > > > What files are in your .hg directory?
> > > 
> > > ./.hg:
> > > total 8
> > > drwxr-xr-x 1 g36565 mkgroup-l-d  0 Nov  6 15:54 .
> > > drwxr-xr-x 1 g36565 mkgroup-l-d  0 Nov  6 15:51 ..
> > > -rw-r--r-- 1 g36565 mkgroup-l-d 57 Nov  6 15:50 00changelog.i
> > > -rw-r--r-- 1 g36565 mkgroup-l-d 69 Nov  6 15:51 dirstate
> > > -rw-r--r-- 1 g36565 mkgroup-l-d  7 Nov  6 15:54 journal.branch
> > > -rw-r--r-- 1 g36565 mkgroup-l-d 69 Nov  6 15:54 journal.dirstate
> > > -rw-r--r-- 1 g36565 mkgroup-l-d 23 Nov  6 15:50 requires
> > > drwxr-xr-x 1 g36565 mkgroup-l-d  0 Nov  6 15:54 store
> > > -rw-r--r-- 1 g36565 mkgroup-l-d  7 Nov  6 15:51 undo.branch
> > > -rw-r--r-- 1 g36565 mkgroup-l-d 69 Nov  6 15:51 undo.dirstate
> > > -rw-r--r-- 1 g36565 mkgroup-l-d 15 Nov  6 15:54 wlock
> > 
> > Hmm, a journal's getting created, but that shouldn't cause a problem
> > until much later. Your traceback indicates we're running 
> into problems
> > quite early. It looks like the things that can cause an 
> early bailout
> > are:
> > 
> > - repo not found (are you doing something interesting with shared
> > filesystems?)
> 
> No, this fails on both network drives and the local 
> harddrive. It is however running in a Cygwin bash shell 
> (running the TortoiseHg cmd line program, not the Cygwing 
> hg), so I guess there is something going on in the disk 
> access in the Cygwin layer. Trying from the explorer right 
> click menu using the Tortoise diaglogs results in a "silent" 
> crash on the second commit, which is not successful. 
> 
> > - unexpected things in your requires file (can you send that?)
> 
> $ cat .hg/requires 
> revlogv1
> store
> fncache
> 
> > - unreachable shared path (doesn't apply)
> > - something interesting in an extension (using any?)
> 
> Not really anything out of the ordinary:
> 
> $ cat $HOME/.hgrc
> [ui]
> username = Jens Lund <jens.lund at nordea.com>
> 
> [extensions]
> hgext.graphlog =
> hgext.extdiff =
> hgext.hgk =
> hgext.bookmarks =
> 
> transplant =
> 
> [extdiff]
> cmd.kdiff = kdiff3
> 
> > You might also try this patch:
> 
> I am a bit in doubt here. As far as I can see, the TortoiseHg 
> installer only contains the compiled pyc files in 
> library.zip, and not the "raw" Python files? Am I looking in 
> the correct place? In order to nevertheless try the patch I 
> installed the Cygwin version of hg --- that one does not fail 
> (which I suppose is somewhat consistent with it not failing 
> on Linux either). Thus specific to the TortoiseHg installer. 
> (Haven't tried the plain Windows installer.)
> 
> Jens
> 


More information about the Mercurial mailing list