[Buildbot-devel] Questions on source step's clobbering

Marcus Lindblom macke at yar.nu
Tue Dec 30 22:54:00 UTC 2008


Hi,

I'm working on a test case for http://buildbot.net/trac/ticket/187 and 
have stumbled on the clobber detection.

The test seems to say that patches against the same branch should not 
clobber, (and leave the previous files in place) but updated toward a 
different branch should clobber?

It seems as if the "regular" vc:s just fail if one tries to switch 
branch with 'other' files in the way, thus triggering a clobber. This 
does not happen with hg, so my test fails.

I tried to detect this by doing 'hg status' but that always clobbers and 
then the test fails because it expects these extra files to be kept.

Is it necessary to keep files?

Does anyone know a good way to fix this with hg?

(In general, I've found buildbot to be a bit vague on the concepts of 
revisions, branches and 'just the latest', having used it with 
subversion previously.)

Cheers,
/Marcus





More information about the devel mailing list