diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-04-24 13:53:25 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-04-24 13:53:25 +0100 |
commit | e7298c036ee0635909f323dfe0062c03303b7d1a (patch) | |
tree | 0f992c92343914c74bd847aee047a4b2cc87f252 | |
parent | 3e2c2794dd4ed46dea304fdf2edd1effefebb5f3 (diff) | |
download | morph-e7298c036ee0635909f323dfe0062c03303b7d1a.tar.gz |
Use submodule url, not path, to find it in the repo cache
-rw-r--r-- | morphlib/builder2.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/builder2.py b/morphlib/builder2.py index a27c35ab..0448cf58 100644 --- a/morphlib/builder2.py +++ b/morphlib/builder2.py @@ -138,7 +138,7 @@ class ChunkBuilder(BuilderBase): else: tuples = [] for sub in submodules: - cached_repo = self.repo_cache.get_repo(sub.repo) + cached_repo = self.repo_cache.get_repo(sub.url) sub_dir = os.path.join(destdir, sub.path) tuples.append((cached_repo.path, sub.commit, sub_dir)) return tuples |