diff options
| author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 14:45:06 +0200 | 
|---|---|---|
| committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2013-05-30 14:45:06 +0200 | 
| commit | a19b0dd62d7b8efc658fa1aa685ff5665878f3ee (patch) | |
| tree | 1fadf0fb3da83203ba28f209ec99e1b33e03f4d5 /tools/buildman/control.py | |
| parent | 60985bba58e7695dac1fddae8cdbb62d8cfd1254 (diff) | |
| parent | a71d45d706a5b51c348160163b6c159632273fed (diff) | |
| download | olio-uboot-2014.01-a19b0dd62d7b8efc658fa1aa685ff5665878f3ee.tar.xz olio-uboot-2014.01-a19b0dd62d7b8efc658fa1aa685ff5665878f3ee.zip | |
Merge branch 'u-boot/master' into 'u-boot-arm/master'
Conflicts:
	common/cmd_fpga.c
	drivers/usb/host/ohci-at91.c
Diffstat (limited to 'tools/buildman/control.py')
| -rw-r--r-- | tools/buildman/control.py | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/tools/buildman/control.py b/tools/buildman/control.py index 8d7b9b547..4319ce77d 100644 --- a/tools/buildman/control.py +++ b/tools/buildman/control.py @@ -111,6 +111,10 @@ def DoBuildman(options, args):              print col.Color(col.RED, str)              sys.exit(1)          count = gitutil.CountCommitsInBranch(options.git_dir, options.branch) +        if count is None: +            str = "Branch '%s' not found or has no upstream" % options.branch +            print col.Color(col.RED, str) +            sys.exit(1)          count += 1   # Build upstream commit also      if not count: @@ -137,6 +141,11 @@ def DoBuildman(options, args):      upstream_commit = gitutil.GetUpstream(options.git_dir, options.branch)      series = patchstream.GetMetaDataForList(upstream_commit, options.git_dir,              1) +    # Conflicting tags are not a problem for buildman, since it does not use +    # them. For example, Series-version is not useful for buildman. On the +    # other hand conflicting tags will cause an error. So allow later tags +    # to overwrite earlier ones. +    series.allow_overwrite = True      series = patchstream.GetMetaDataForList(range_expr, options.git_dir, None,              series) |