Skip to content

Commit

Permalink
set project in sourcestamp to '' if sourcestamp has no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hborkhuis committed Feb 29, 2012
1 parent dbe05fe commit d3c9d43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion master/buildbot/schedulers/base.py
Expand Up @@ -383,7 +383,7 @@ def create_sourcestamp_without_changes(setid, codebase):
repository=repository,
branch=branch,
revision=revision,
project='no project', #HBX
project='',
changeids=set(),
sourcestampsetid=setid)

Expand Down
2 changes: 1 addition & 1 deletion master/buildbot/test/unit/test_schedulers_base.py
Expand Up @@ -516,7 +516,7 @@ def check((bsid,brids)):
revision='8087', sourcestampsetid=100),
'cbC':
dict(branch='stable', repository='svn://C..', codebase='cbC',
project=None, revision='12345', sourcestampsetid=100)
project='', revision='12345', sourcestampsetid=100)
})
d.addCallback(check)
return d
Expand Down

0 comments on commit d3c9d43

Please sign in to comment.