← Back to team overview

dolfin team mailing list archive

Re: Problems with repository

 

Sorry, I must have missed it. I read through the suggested fixes and
checked out the ones suggested by Hake, but missed yours.

I just made some further progress. I went in and removed the src
directory, then ran the script again. It continued from the same
point and then it worked fine.

Then I tried to write 'hg update' in the fixed (?) repository but got

  abort: untracked file in working directory differs from file in
  requested revision: 'bench/fem/assembly/cpp/bench.log'

So I just removed all files in the working directory, only keeping
.hg. Then it passes 'hg verify' without any problems and I can write
'hg update'. I can could also update to an old changeset, for example

  hg update 1000

But then when trying to update to the tip again I get

  abort: could not symlink to 'dolfin': File exists: /scratch/fenics/dolfin/dolfin-fixed-new/src

:-(

-- 
Anders


On Mon, Sep 22, 2008 at 11:51:02AM +0200, Ilmar Wilbers wrote:
> Even if we get this to work, it would mean that the converted repository 
> is a complete new one, requiring everyone to delete their old repo and 
> clone a fresh one.
> 
> ilmar
> 
> Anders Logg wrote:
> > On Mon, Sep 22, 2008 at 11:30:56AM +0200, Anders Logg wrote:
> >> I have a fix in progress. I will know in 30 min whether or not it works.
> > 
> > It didn't work. I tried to convert the repository into a new one while
> > excluding any operations on the offending files:
> > 
> >   hg convert --filemap exclude.map dolfin dolfin-fixed
> > 
> > exclude.map contains the following:
> > 
> >   exclude demo/pde/dg/poisson/python/demo.py.orig
> >   exclude src/demo/mesh/partitioning/cpp/dolfin-mesh-partition-demo
> >   exclude src/demo/mesh/partitioning/cpp/test.py
> > 
> > All these file are either not at all important (demo.py.orig) or
> > shouldn't have been added at all (the binary and test.py) so it's ok
> > if we find a fix which deletes these from the history.
> > 
> > It seemed to go well up until this point:
> > 
> >   1131 The BIG commit!
> >   1130 Added src symlink.
> >   abort: could not symlink to 'dolfin': File exists: /scratch/fenics/dolfin/dolfin-fixed/src
> > 
> > Any ideas how to fix this?
> > 
> > Here is some more information:
> > 
> >   http://www.selenic.com/mercurial/wiki/index.cgi/FixingMissingRevlog
> > 
> > 
> > 
> > ------------------------------------------------------------------------
> > 
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev

Attachment: signature.asc
Description: Digital signature


Follow ups

References