diff options
author | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2011-04-11 18:43:40 -0300 |
---|---|---|
committer | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2011-04-11 18:43:40 -0300 |
commit | 1a41c9661e837e2463c492693d4526df8cc0538c (patch) | |
tree | 7add71d4abb318028e1513e578d3e34d7895dfee /src/repository.cpp | |
parent | 7f27c60c636ff4ea63de11229bb5fe842e4e3ca7 (diff) | |
download | svn2git-1a41c9661e837e2463c492693d4526df8cc0538c.tar svn2git-1a41c9661e837e2463c492693d4526df8cc0538c.tar.gz svn2git-1a41c9661e837e2463c492693d4526df8cc0538c.tar.bz2 svn2git-1a41c9661e837e2463c492693d4526df8cc0538c.tar.xz svn2git-1a41c9661e837e2463c492693d4526df8cc0538c.zip |
Add support for default values in variable substitutions.
If there is no variable 'foo' set, ${foo} exits with a fatal error.
With this patch, you can use ${foo|sometext}, which will substitute to
'sometext' if the variable 'foo' isn't set. The default text may be empty.
Diffstat (limited to 'src/repository.cpp')
0 files changed, 0 insertions, 0 deletions