]> rtime.felk.cvut.cz Git - git-ftp-sync.git/commitdiff
git-ftp-sync: Fixed typo
authorMichal Sojka <sojkam1@fel.cvut.cz>
Sun, 27 Apr 2008 20:35:00 +0000 (20:35 +0000)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 23 Sep 2008 14:34:54 +0000 (16:34 +0200)
darcs-hash:20080427203502-f2ef6-58f3580a1b13890a5172a2847cdf60cc51440a10.gz

git-ftp-sync

index cf5cf118ba978123c6a42e6c3779acd4cda234aa..921c1c7e8163d1287580cd667275597119f3dc8b 100755 (executable)
@@ -272,7 +272,7 @@ for line in sys.stdin:
     (oldrev, newrev, refname) = line.split()
     if refname == "refs/heads/master":
         try:
-            oldref=file("refs/remotes/ftp/master").readline().strip();
+            oldrev=file("refs/remotes/ftp/master").readline().strip();
         except IOError:
             pass
         build_change_list(changes, oldrev, newrev)