1. 29 Mar, 2016 2 commits
  2. 28 Mar, 2016 3 commits
    • dnj@chromium.org's avatar
      Revert of git cl: Rework Changelist class for Rietveld/Gerrit use. (patchset... · f585b1f8
      dnj@chromium.org authored
      Revert of git cl: Rework Changelist class for Rietveld/Gerrit use. (patchset #3 id:40001 of https://codereview.chromium.org/1830973003/ )
      
      Reason for revert:
      Speculative revert, see crbug.com/598428.
      
      Original issue's description:
      > git cl: Rework Changelist class for Rietveld/Gerrit use.
      > 
      > This adds pluggable codereview-specific implementations into
      > Changelist class. The specific implementation is chosen at
      > Changelist automatically, with Rietveld being default for
      > backwards compatibility.
      > 
      > Gerrit implementation for Gerrit is incomplete, and will be
      > added in later CLs. However, it is sufficient to ensure
      > current functionality of this tool is not diminished.
      > 
      > Sadly, the base class isn't completely free from Rietveld
      > assumptions because of presubmit_support. Apparently, PRESUBMIT
      > scripts can make use of Rietveld instance for RPCs directly.
      > This use doesn't make sense for Gerrit, which substitutes
      > rietveld instance with a dummy object, which raises exception
      > on any attribute access with a diagnostic message.
      > 
      > This also includes refactoring of some related code which
      > (ab)used ChangeList. Overall, this CL adds a few extra call to
      > git config in order to determine which codereview to use, but
      > but it shouldn't have any performance impact.
      > 
      > 
      > 
      > These is a reland of these 4 CLs + a fix.
      > patch from issue 1827523003 at patchset 20001 (http://crrev.com/1827523003#ps20001)
      > patch from issue 1830703004 at patchset 1 (http://crrev.com/1830703004#ps1)
      > patch from issue 1830923002 at patchset 60001 (http://crrev.com/1830923002#ps60001)
      > patch from issue 1805193002 at patchset 380001 (http://crrev.com/1805193002#ps380001)
      > 
      > 
      > 
      > R=machenbach@chromium.org,sergiyb@chromium.org,andybons@chromium.org
      > BUG=579160,597638
      > 
      > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299506
      
      TBR=andybons@chromium.org,machenbach@chromium.org,sergiyb@chromium.org,tandrii@chromium.org
      # Skipping CQ checks because original CL landed less than 1 days ago.
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      BUG=579160,597638
      
      Review URL: https://codereview.chromium.org/1840833002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299515 0039d316-1c4b-4281-b951-d872f2087c98
      f585b1f8
    • tandrii@chromium.org's avatar
      Revert of Use tracking remote name for gerrit upload. (patchset #1 id:1 of... · 95ffb615
      tandrii@chromium.org authored
      Revert of Use tracking remote name for gerrit upload. (patchset #1 id:1 of https://codereview.chromium.org/1830313002/ )
      
      Reason for revert:
      Argh, this has broken uploading track-ed branches.
      Repro:
      
      git new-branch base-feature
      touch x1 && git add x1 && git commit -m "x1"
      git cl upload
      git new-branch --upstream_current dep-feature
      touch y1 && git add y1 && git commit -m "y1"
      git cl upload -v -v # fails.
      
      
      the verbose output produces this:
      ---cut---
      DEBUG:root:git push . 7079b1682431184375b62e7e81ce10a02171aa0d:refs/for/refs/heads/master
      To .
       ! [rejected]        7079b1682431184375b62e7e81ce10a02171aa0d -> refs/for/refs/heads/master (non-fast-forward)
      error: failed to push some refs to '.'
      ---cut---
      
      Original issue's description:
      > Use tracking remote name for gerrit upload.
      > 
      > This patch replaces the hard-coded remote name 'origin' with the
      > one obtained by git-remote.
      > 
      > Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=299491
      
      TBR=iannucci@chromium.org,ukai@chromium.org,alokp@chromium.org
      # Not skipping CQ checks because original CL landed more than 1 days ago.
      
      Review URL: https://codereview.chromium.org/1835923002
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299509 0039d316-1c4b-4281-b951-d872f2087c98
      95ffb615
    • tandrii@chromium.org's avatar
      git cl: Rework Changelist class for Rietveld/Gerrit use. · 39b24c3a
      tandrii@chromium.org authored
      This adds pluggable codereview-specific implementations into
      Changelist class. The specific implementation is chosen at
      Changelist automatically, with Rietveld being default for
      backwards compatibility.
      
      Gerrit implementation for Gerrit is incomplete, and will be
      added in later CLs. However, it is sufficient to ensure
      current functionality of this tool is not diminished.
      
      Sadly, the base class isn't completely free from Rietveld
      assumptions because of presubmit_support. Apparently, PRESUBMIT
      scripts can make use of Rietveld instance for RPCs directly.
      This use doesn't make sense for Gerrit, which substitutes
      rietveld instance with a dummy object, which raises exception
      on any attribute access with a diagnostic message.
      
      This also includes refactoring of some related code which
      (ab)used ChangeList. Overall, this CL adds a few extra call to
      git config in order to determine which codereview to use, but
      but it shouldn't have any performance impact.
      
      
      
      These is a reland of these 4 CLs + a fix.
      patch from issue 1827523003 at patchset 20001 (http://crrev.com/1827523003#ps20001)
      patch from issue 1830703004 at patchset 1 (http://crrev.com/1830703004#ps1)
      patch from issue 1830923002 at patchset 60001 (http://crrev.com/1830923002#ps60001)
      patch from issue 1805193002 at patchset 380001 (http://crrev.com/1805193002#ps380001)
      
      
      
      R=machenbach@chromium.org,sergiyb@chromium.org,andybons@chromium.org
      BUG=579160,597638
      
      Review URL: https://codereview.chromium.org/1830973003
      
      git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@299506 0039d316-1c4b-4281-b951-d872f2087c98
      39b24c3a
  3. 25 Mar, 2016 1 commit
  4. 24 Mar, 2016 12 commits
  5. 23 Mar, 2016 4 commits
  6. 22 Mar, 2016 2 commits
  7. 21 Mar, 2016 1 commit
  8. 18 Mar, 2016 3 commits
  9. 17 Mar, 2016 2 commits
  10. 16 Mar, 2016 3 commits
  11. 15 Mar, 2016 3 commits
  12. 14 Mar, 2016 2 commits
  13. 12 Mar, 2016 2 commits