To get JSPWiki working well with Mercurial,
jspwiki.fileSystemProvider.pageDir = /Users/username/sites/dsawiki/ jspwiki.basicAttachmentProvider.storageDir = /Users/username/sites/dsawiki/
assuming you have done something like
$ hg init dsawiki
from /Users/username/sites.
jspwiki.pageProvider = VersioningFileProvider
Create a file in dsawiki called .hgignore and populate it with
# use glob syntax syntax: glob OLD/*
Add and commit this file to the repository
$ hg add .hgignore $ hg commit -m "ignore wiki version history, we have hg for that" .hgignore
Now you will have the best of both worlds. You can periodically clean out the OLD/ folder, or just leave it until it becomes an issue but you will still have hg's history. Even better, hg's history will be much smaller.