AttributeError: 'ContentType' object has no attribute 'file_path

Matt Mackall mpm at
Mon Jan 19 12:01:29 CST 2009

On Mon, 2009-01-19 at 13:30 +0100, Dirkjan Ochtman wrote:
> On Sun, Jan 18, 2009 at 19:31, rt <rupert.thurner at> wrote:
> > in
> >      149     if not os.path.exists(repo.file_path):
> >      150         os.makedirs(repo.file_path)
> >      151         hg.repository(ui.ui(), repo.file_path, create=True)
> The second argument to hg.repository() should usually be the path to
> the repo (excluding the .hg dir). Obviously something goes wrong
> there.
> But I suggest that freehg is not part of hg, so that other than
> explicit API questions (that aren't answered in the wiki page about
> the API), should probably not be on the mercurial-devel list.

Well there's actually probably not a better place for it, but it would
be nice if was at least clearly labeled as a freehg issue.

-- : development and support for Mercurial and Linux

More information about the Mercurial-devel mailing list