diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-14 18:40:12 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-01-14 18:40:12 +0000 |
commit | 8758c420d31de08695b946a8e11921ff2cff6b7b (patch) | |
tree | 6ab12ea919a9550fa671910d7f30824b439ef200 /BitKeeper | |
parent | c3c63b44f576ee5a33fc226cbb77740666af0ab1 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/01/14 12:29:25-06:00 ti.com!kergoth
Fix a bug in the CIA notification script that resulted in files being listed
as many times as there were revisions in the cset for that file.
BKrev: 41e8120cxj6cFaLJ7b0Fa1ZtnsIuNQ
Diffstat (limited to 'BitKeeper')
-rw-r--r-- | BitKeeper/triggers/ciabot_bk.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/BitKeeper/triggers/ciabot_bk.py b/BitKeeper/triggers/ciabot_bk.py index fe055b41b4..d75f93257c 100644 --- a/BitKeeper/triggers/ciabot_bk.py +++ b/BitKeeper/triggers/ciabot_bk.py @@ -242,10 +242,11 @@ class BKClient(CIAClient): def collectFiles(self): # Extract all the files from the output of 'bkchanges changed' - files = [] - for line in self.bkchanges('-n -v -d\'$unless(:GFILE:=ChangeSet){:GFILE:}\'').strip().split('\n'): - files.append(File(line)) - return files + lines = [] + for l in self.bkchanges('-n -v -d\'$unless(:GFILE:=ChangeSet){:GFILE:}\'').strip().split('\n'): + if not l in lines: + lines.append(l) + return [ File(line) for line in lines ] if __name__ == "__main__": |