Created
August 11, 2015 11:39
-
-
Save bart0sh/baa69ee1a5edddded975 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -46,6 +46,7 @@ class Command(BaseCommand): | |
# we detect the remote name at runtime | |
import subprocess | |
(remote, remote_name) = address.split(":", 1) | |
+ print 'debug:', filepath | |
cmd = subprocess.Popen("git remote -v", shell=True, cwd = os.path.dirname(filepath), stdout=subprocess.PIPE, stderr = subprocess.PIPE) | |
(out,err) = cmd.communicate() | |
if cmd.returncode != 0: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment