Coredump

Work, play, and everything in-between.

Archive for the ‘subversion’ tag

Adding SVN keyword expansion in Tortoise SVN

without comments

When using Tortoise SVN client to access my Subversion repositories from Windows, I tend to forget to set up keyword expansion (unlike in the Linux command-line, where one can always invoke svn propset svn:keywords "Id Date Author" somefile).

In Tortoise, this can be done by enabling auto-props in the configuration. In Windows Explorer, right-click to get to the Tortoise context menu:

(Yes, I’m a bit O.C. so even my resume is under version control. :P)

Edit the Subversion configuration file, specifically the following properties:

[miscellany]
...
enable-auto-props = yes
...
[auto-props]
*.txt = svn:keywords=Date Id Rev Author URL;svn:eol-style=native
*.html = svn:keywords=Date Id Rev Author URL

This tells Tortoise to expand the keywords specified for the given files. Note that this works only on new files added to the repo after the configuration has been modified.

Written by Ian Dexter

October 12th, 2008 at 5:24 pm

Posted in Play

Tagged with , , ,

Quickies

without comments

  • Registered diecastminis.com. Now, www.diecastminis.com point to my hobby blog.
  • My iandexter.net Google-hosted email is having DNS problems. Hay…
  • Wracking my brain all day, trying to figure out how to migrate Serena Version Manager files to Subversion. So far, PVCS-to-RCS has been successful, but it only gets the latest version — no version history!

Update: The DNS resolution issue points to my availment of a service from my domain registrar — turns out they had to point my domain to their name servers. Thus, the MX record for iandexter.net vanished. Fast propagation, though, as I got nearly instantaneous update.

Up-update: Interestingly, during the period when the MX record did not resolve, I still received spam mails. Spam is that resilient? I shudder at the thought.

Written by Ian Dexter

March 27th, 2007 at 5:29 pm

Posted in Work

Tagged with , , , ,