Skip to content

Commit

Permalink
fix: attr. repository, not revision (dup); copy project/repository on…
Browse files Browse the repository at this point in the history
… merge

Signed-off-by: Dustin J. Mitchell <dustin@zmanda.com>
  • Loading branch information
Tobias Oberstein authored and Dustin J. Mitchell committed Apr 9, 2010
1 parent c249a12 commit ab80d81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion buildbot/sourcestamp.py
Expand Up @@ -32,7 +32,7 @@ class SourceStamp(util.ComparableMixin, styles.Versioned):
patch = None
changes = ()
project = ''
revision = ''
repository = ''
ssid = None # filled in by db.get_sourcestampid()

compare_attrs = ('branch', 'revision', 'patch', 'changes', 'project', 'repository')
Expand Down Expand Up @@ -117,6 +117,8 @@ def mergeWith(self, others):
newsource = SourceStamp(branch=self.branch,
revision=self.revision,
patch=self.patch,
project=self.project,
repository=self.repository,
changes=changes)
return newsource

Expand Down

0 comments on commit ab80d81

Please sign in to comment.