Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/bin/sh
# darcsstat - extract information useful for user support.
# Run in a repo's top-level directory. Requires unix.
darcs show repo
echo " Repo size:" `du -sh _darcs | cut -f1`
echo " Repo files:" `darcs show files | wc -l`
echo "Working copy files:" `find . -name _darcs -prune -o -name '*' | wc -l`
echo " Tags:" `darcs show tags | wc -l`
echo " Authors:" `darcs show authors | wc -l`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment