Created
May 10, 2012 14:00
-
-
Save simonmichael/2653180 to your computer and use it in GitHub Desktop.
show some stats for a darcs repo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 | grep . | wc -l` | |
| echo | |
| darcs show authors |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment