summaryrefslogtreecommitdiff
path: root/morph
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-23 16:48:21 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2012-03-23 16:48:21 +0000
commiteb591e2ccd511aa3d9e33af49efdb2c7ce10fc9e (patch)
treeb77fa7a5980cf4fa951d526066cd955449e33aed /morph
parentf6a019d1fe6eb85cb774e85c0d0a04e4c05b0107 (diff)
downloadmorph-eb591e2ccd511aa3d9e33af49efdb2c7ce10fc9e.tar.gz
Add cmdtest for morph branch to set origin correctly
Diffstat (limited to 'morph')
-rwxr-xr-xmorph3
1 files changed, 3 insertions, 0 deletions
diff --git a/morph b/morph
index 355ab3fc..16f98720 100755
--- a/morph
+++ b/morph
@@ -410,6 +410,9 @@ class Morph(cliapp.Application):
# Clone it from cache to target directory.
morphlib.git.clone(dirname, treeish.repo, self.msg)
+
+ # Set the origin to point at the original repository.
+ morphlib.git.set_remote(dirname, 'origin', treeish.original_repo)
def cmd_branch(self, args):
'''Branch the whole system.'''