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.

in http://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 in
http://localhost:7777/PommesBude1/browser/currywurst
and
http://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 clone http://localhost:7777/PommesBude1/repos/mayo
Abbruch: HTTP Error 404: Not Found

~/tmp$ hg clone http://localhost:7777/PommesBude1/mayo
Abbruch: HTTP Error 404: Not Found

~/tmp$ hg clone http://localhost:7777/PommesBude1/currywurst
Abbruch: HTTP Error 404: Not Found

hg clone http://localhost:7777/PommesBude1/repos/currywurst
Abbruch: HTTP Error 404: Not Found

whereas pointing the browser to
http://localhost:7777/PommesBude1/browser/mayo
and
http://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