git pull error fix
authorTimo Savola <tsavola@movial.fi>
Fri, 4 Apr 2008 07:45:32 +0000 (10:45 +0300)
committerTimo Savola <tsavola@movial.fi>
Fri, 4 Apr 2008 07:45:32 +0000 (10:45 +0300)
matrix/git.py

index 406ea91..3f0f88e 100644 (file)
@@ -130,7 +130,7 @@ def pull(name, url=None, refspec=None):
        else:
                cmd = ['pull',url,refspec]
        if call(cmd, workdir=name) != 0:
-               raise Error('pull', url)
+               raise Error(cmd, name)
 
 def create_branch(name, branch, point, checkout=False,link=False,force=False):
        if checkout: