/[soft]/mga-gnome/trunk/mga-gnome
ViewVC logotype

Diff of /mga-gnome/trunk/mga-gnome

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3038 by ovitters, Thu Feb 23 19:47:51 2012 UTC revision 3039 by ovitters, Thu Feb 23 20:10:41 2012 UTC
# Line 135  class SpecFile(object): Line 135  class SpecFile(object):
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    

Legend:
Removed from v.3038  
changed lines
  Added in v.3039

  ViewVC Help
Powered by ViewVC 1.1.30