Skip showing the tree link if there is no pristine tree.
authorAlberto Bertogli <albertogli@telpin.com.ar>
local dateMon, 25 Jul 2005 04:41:00
dateMon, 25 Jul 2005 04:41:00
hash20050725044100-d5d94-8a80e6ffdfe9f97a235a8ca68a19724a45e10b5f
Skip showing the tree link if there is no pristine tree.

If the repository was get with the --no-pristine-tree option, there won't be a
current directory; we only show the tree option if the directory is there.

The other related option that accesses the pristine tree directly is the
headblob, but there is already a check in place that takes care of it.

Thanks to Stephane Popinet for reporting it.
1 file(s) changed:
darcsweb.cgi +6 -1