<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6920</bug_id>
          
          <creation_ts>2014-10-31 16:06:35 +0000</creation_ts>
          <short_desc>scripts/create-pull-request does not work correctly with git 2.x</short_desc>
          <delta_ts>2016-11-03 12:12:31 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>Scripts and Tools</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8.3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristian Iorga">cristian.iorga</reporter>
          <assigned_to name="Ed Bartosh">eduard.bartosh</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>liezhi.yang</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>46708</commentid>
    <comment_count>0</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-10-31 16:06:35 +0000</bug_when>
    <thetext>Issue:
poky$ scripts/create-pull-request -s &quot;QEMU upgrade to 2.1.2&quot; -u contrib -b ciorga/PUs
warn: No match for commit 7a6dbf75749631db018a8a060240bd5c9c99a407 found at git://git.yoctoproject.org/poky-contrib
warn: Are you sure you pushed &apos;HEAD&apos; there?
ERROR: git request-pull reported an error

Under git 2.x, the following change was made:
 * Discard the accumulated &quot;heuristics&quot; to guess from which branch the
   result wants to be pulled from and make sure that what the end user
   specified is not second-guessed by &quot;git request-pull&quot;, to avoid
   mistakes.  When you pushed out your &apos;master&apos; branch to your public
   repository as &apos;for-linus&apos;, use the new &quot;master:for-linus&quot; syntax to
   denote the branch to be pulled.

As such, create-pull-request script no longer works correctly with the regular usage model/parameters.

A way to circumvent this is to use it like this:

scripts/create-pull-request -s &quot;QEMU upgrade to 2.1.2&quot; -u contrib -b ciorga/PUs -i PUs</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46709</commentid>
    <comment_count>1</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-10-31 16:07:41 +0000</bug_when>
    <thetext>Investigation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>46710</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2014-10-31 16:08:08 +0000</bug_when>
    <thetext>See discussion:
http://permalink.gmane.org/gmane.comp.version-control.git/252442</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48832</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-02-13 17:46:07 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=dbfed41b76fa4ef7774882c9e121917a58f84a41</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>