For repository cloning etc i.e serving the repository, you have to
setup hgwebdir or rhodecode. I dont think that we can clone from trac
instance. Its only for browsing the repo (and other things like
tickets, wiki etc)


On Apr 25, 2:50 pm, aroldo <[email protected]> wrote:
> Hi list,
>
> sorry for the newbie question. I couldn't find the same issue in the
> mail archive.
>
> I don't understand the explanation
>
> url:    The url attribute specifies the root URL to be used for checking
> out from the repository. When specified, a "Repository URL" link is
> added to the context navigation links in the source browser, that can
> be copied into the tool used for creating the working copy.
>
> inhttp://trac.edgewall.org/wiki/0.12/TracRepositoryAdmin
>
> Does it mean that the Trac environment serves the repositories
>
> a) for browsing
> b) for checking out (or cloning) ?
>
> My test configuration is:
>
> [repositories]
> #
> foo.currywurst
> currywurst.dir=../../foo.currywurst
> currywurst.description=The Foo Currywurst
> currywurst.type=hg
> currywurst.url=/currywurst
>
> #
> foo.mayo
> mayo.dir=../../foo.mayo
> mayo.description=The Foo Mayo
> mayo.type=hg
> mayo.url=mayo
>
> I can browse both repositories 
> inhttp://localhost:7777/PommesBude1/browser/currywurst
> andhttp://localhost:7777/PommesBude1/browser/mayo
>
> These are well working mercurial repositories, which I can also see in
> the Trac repository browser.
>
> But trying to clone causes an error:
>
> ~/tmp$ hg clonehttp://localhost:7777/PommesBude1/repos/mayo
> Abbruch: HTTP Error 404: Not Found
>
> ~/tmp$ hg clonehttp://localhost:7777/PommesBude1/mayo
> Abbruch: HTTP Error 404: Not Found
>
> ~/tmp$ hg clonehttp://localhost:7777/PommesBude1/currywurst
> Abbruch: HTTP Error 404: Not Found
>
> hg clonehttp://localhost:7777/PommesBude1/repos/currywurst
> Abbruch: HTTP Error 404: Not Found
>
> whereas pointing the browser tohttp://localhost:7777/PommesBude1/browser/mayo
> andhttp://localhost:7777/PommesBude1/browser/currywurst
>
> shows the current stat of the repositories without any error.
>
> I think I am misunderstanding something basic here. I'm thankful for
> help.
>
> Regards,
>
> Aroldo.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to