Skip to content

Instantly share code, notes, and snippets.

@simonmichael
Created April 7, 2010 16:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonmichael/359114 to your computer and use it in GitHub Desktop.
Save simonmichael/359114 to your computer and use it in GitHub Desktop.
#!/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