Quick Mercurial Tip

Tagged as Programming

Written on 2008-10-17 19:20:36

I hadn't actually looked into ignoring files with Mercurial until today. You can set up a file in the root of your repository called .hgignore that will make your life a bit easier. Mercurial will read that file (which is a list of patterns in glob or regexp format) and will ignore any files that match those patterns when it does it's versioning work. So, want to ignore anything under the unversioned directory, mercurial configuration files and any temporary files? Here you go:

syntax: glob


Also, there are some great mercurial articles here. I'm also playing around with Zach Beane's ZS3 library. Nice stuff. Also nice is his Common Lisp small project guide. That's damn handy. Unfortunately, all I'm using S3 for at the moment is to store RedLinux (695mb iso) and drakma currently requires loading the full file in memory to upload it with PUT. I guess I'll be keeping an eye on Edi Weitz then. More later...
comments powered by Disqus

Unless otherwise credited all material Creative Commons License by Brit Butler