135 |
print >>sys.stderr, "ERROR: Version %s is older than current version %s!" % (version, cur_version) |
print >>sys.stderr, "ERROR: Version %s is older than current version %s!" % (version, cur_version) |
136 |
return False |
return False |
137 |
|
|
138 |
|
# XXX - os.path.join is hackish |
139 |
|
if subprocess.check_output(["svn", "diff", os.path.join(self.path, '..')]) != '': |
140 |
|
print >>sys.stderr, "ERROR: Package has uncommitted changes!" |
141 |
|
return False |
142 |
|
|
143 |
with open(self.path, "rw") as f: |
with open(self.path, "rw") as f: |
144 |
data = f.read() |
data = f.read() |
145 |
|
|