On Sun, Oct 26, 2014 at 05:48:06PM +0200, Lars Wirzenius wrote:
---
lorry | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lorry b/lorry
index 853c65d..b802ebd 100755
--- a/lorry
+++ b/lorry
@@ -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)
+
This is correct, but we also need the layout options to be tweaked.
This should just be a case of unconditionally running the commands that
are run before the `else:`, so I'm ok with a fix up at merge time.