summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--morphlib/plugins/branch_and_merge_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/plugins/branch_and_merge_plugin.py b/morphlib/plugins/branch_and_merge_plugin.py
index 4f78551e..c81c95c8 100644
--- a/morphlib/plugins/branch_and_merge_plugin.py
+++ b/morphlib/plugins/branch_and_merge_plugin.py
@@ -617,7 +617,7 @@ class BranchAndMergePlugin(cliapp.Plugin):
if self.get_uncommitted_changes(from_dir) != []:
raise cliapp.AppException('repository %s has uncommitted '
- 'changes' % name)
+ 'changes' % from_dir)
# repo must be made into a URL to avoid ':' in pathnames confusing git
from_url = urlparse.urljoin('file://', from_dir)
self.app.runcmd(['git', 'pull', '--no-commit', '--no-ff', from_url,