jbernard/dotfiles — pull request #7 by thomasf (2012-02-17 15:08:15+00:00)
Title: Support referencing the repository root using {{repository}} in externals.

What do you think of this...

This is my use case:

The whole of ~/.m2 should not be synced, I wanted only .m2/settings.xml to be synced.

The resulting dotfilesrc:

[dotfiles]
ignore = [
'.git',
'.m2',
'README']
externals = {
'.m2/settings.xml': '{{repository}}/.m2/settings.xml' }

If you like this (or have a better idea) I will write documentation and all that stuff and append it to my feature branch,