1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-05 02:56:17 +01:00

osc update: fix diff3 merging for expanded links, by adding the revision to the

get_source_file() call in the mergfile method.
This commit is contained in:
Dr. Peter Poeml 2008-03-26 16:11:11 +00:00
parent ab76e2cf84
commit a0bae2ab52

View File

@ -755,7 +755,8 @@ class Package:
os.rename(filename, myfilename)
mtime = self.findfilebyname(n).mtime
get_source_file(self.apiurl, self.prjname, self.name, n, targetfilename=upfilename)
get_source_file(self.apiurl, self.prjname, self.name, n,
revision=self.rev, targetfilename=upfilename)
os.utime(upfilename, (-1, mtime))
if binary_file(myfilename) or binary_file(upfilename):