Changeset 148173 in webkit


Ignore:
Timestamp:
Apr 10, 2013 11:04:31 PM (11 years ago)
Author:
glenn@skynav.com
Message:

[webkitpy] Remove unused return_exit_code argument and returned values from SCM.{add,add_list}
https://bugs.webkit.org/show_bug.cgi?id=114410

Reviewed by Ryosuke Niwa.

  • Scripts/webkitpy/common/checkout/scm/git.py:

(Git.add_list): Remove optional return_exit_code argument. Remove return value.

  • Scripts/webkitpy/common/checkout/scm/scm.py:

(SCM.add): Remove optional return_exit_code argument.
(SCM.add_list): Remove optional return_exit_code argument.

  • Scripts/webkitpy/common/checkout/scm/svn.py:

(SVN.add_list): Remove optional return_exit_code argument. Remove return value.

Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r148171 r148173  
     12013-04-10  Glenn Adams  <glenn@skynav.com>
     2
     3        [webkitpy] Remove unused return_exit_code argument and returned values from SCM.{add,add_list}
     4        https://bugs.webkit.org/show_bug.cgi?id=114410
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        * Scripts/webkitpy/common/checkout/scm/git.py:
     9        (Git.add_list): Remove optional return_exit_code argument. Remove return value.
     10        * Scripts/webkitpy/common/checkout/scm/scm.py:
     11        (SCM.add): Remove optional return_exit_code argument.
     12        (SCM.add_list): Remove optional return_exit_code argument.
     13        * Scripts/webkitpy/common/checkout/scm/svn.py:
     14        (SVN.add_list): Remove optional return_exit_code argument. Remove return value.
     15
    1162013-04-10  Eric Seidel  <eric@webkit.org>
    217
  • trunk/Tools/Scripts/webkitpy/common/checkout/scm/git.py

    r145141 r148173  
    163163        return '^(?P<status>[%s])\t(?P<filename>.+)$' % expected_types
    164164
    165     def add_list(self, paths, return_exit_code=False):
    166         return self._run_git(["add"] + paths, return_exit_code=return_exit_code)
     165    def add_list(self, paths):
     166        self._run_git(["add"] + paths)
    167167
    168168    def delete_list(self, paths):
  • trunk/Tools/Scripts/webkitpy/common/checkout/scm/scm.py

    r145141 r148173  
    131131        self._subclass_must_implement()
    132132
    133     def add(self, path, return_exit_code=False):
    134         self.add_list([path], return_exit_code)
    135 
    136     def add_list(self, paths, return_exit_code=False):
     133    def add(self, path):
     134        self.add_list([path])
     135
     136    def add_list(self, paths):
    137137        self._subclass_must_implement()
    138138
  • trunk/Tools/Scripts/webkitpy/common/checkout/scm/svn.py

    r145141 r148173  
    185185        for path in paths:
    186186            self._add_parent_directories(os.path.dirname(os.path.abspath(path)))
    187         return self._run_svn(["add"] + paths, return_exit_code=return_exit_code)
     187        self._run_svn(["add"] + paths)
    188188
    189189    def _delete_parent_directories(self, path):
Note: See TracChangeset for help on using the changeset viewer.