From: Zhang Qiang Date: Fri, 18 Jan 2013 16:06:09 +0000 (-0500) Subject: Don't break link structure if package is a link in OBS, #675 X-Git-Tag: 0.13~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8ed9b6cd468cde1a33215acd1458e60e22ab1cc1;p=tools%2Fgbs.git Don't break link structure if package is a link in OBS, #675 Change-Id: Iac1991d81f996e3f8f4d8368a9bafbea824af723 --- diff --git a/gitbuildsys/oscapi.py b/gitbuildsys/oscapi.py index a1971c1..8a46158 100644 --- a/gitbuildsys/oscapi.py +++ b/gitbuildsys/oscapi.py @@ -205,9 +205,9 @@ class OSC(object): old is a list of remote filenames changed, not changed and new are lists of local filepaths """ - # Get list of files from the OBS - rfiles = core.meta_get_filelist(self.apiurl, prj, pkg, verbose=True) + rfiles = core.meta_get_filelist(self.apiurl, prj, pkg, verbose=True,\ + expand=True) old, not_changed, changed, new = [], [], [], [] @@ -241,7 +241,8 @@ class OSC(object): query = {'cmd' : 'commitfilelist', 'user' : conf.get_apiurl_usr(self.apiurl), - 'comment': message} + 'comment': message, + 'keeplink': 1} url = core.makeurl(self.apiurl, ['source', prj, pkg], query=query) xml = ""