darcs repository web UI and hosting app. This is the main darcsden trunk, which also runs hub.darcs.net. (https://hub.darcs.net)

#170raw files, annotate etc. are broken

For a while darcs hub has stored repos in "bare" format (no working copy), presumably to save disk space/inodes. This has broken things like annotate view and raw file view, and makes it hard eg to link to the logo image in the darcshub-docs repo. Supersedes #138.

  • This seems to only be a problem with some of your repositories, @simon. Is there an option to convert from a bare repo to one with a working directory? If not, maybe re-cloning your bare repos over ssh would work.

  • Working on this. I think I must have made all repos bare to save space in the past, but many of them are no longer. I need to find a reliable command for "dressing" the bare repos.

    • status set to closed

    Actually I think it was just my own repos. Doh. Should be fixed now.

    alias darcs-unbare="grep -q no-working-dir _darcs/format && (perl -pi -e 's/(.*)\|no-working-dir/\1/' _darcs/format && darcs revert -aq)"