diff options
author | Lars Wirzenius <liw@liw.fi> | 2014-10-26 17:48:06 +0200 |
---|---|---|
committer | Richard Maw <richard.maw@gmail.com> | 2014-11-05 10:42:00 +0000 |
commit | 2e4f9e911198ba117eee09b6192713215e7d109b (patch) | |
tree | f0220781028d89d263724fa3f381a15423754f09 | |
parent | ede3f337e9769b0e6756d4b9cc37d33aa62b82ba (diff) | |
download | lorry-2e4f9e911198ba117eee09b6192713215e7d109b.tar.gz |
Make Subversion lorrying obey URL changes
-rwxr-xr-x | lorry | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -427,6 +427,14 @@ class Lorry(cliapp.Application): cwd=gitdir) else: self.progress('.. updating existing clone') + + # Force URL to the one in the Lorry spec. This way, if the + # URL in the spec changes, Lorry accepts the change rather + # than using the original one. + self.run_program( + ['git', 'config', 'svn-remote.svn.url', spec['url']], + cwd=gitdir) + # update the remote tracking branches self.run_program(['git', 'svn', 'fetch'], cwd=gitdir) |