⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 271203 in webkit


Ignore:
Timestamp:
Jan 6, 2021, 10:14:39 AM (6 years ago)
Author:
Jonathan Bedard
Message:

[webkitscmpy] Add command to canonicalize unpushed commits (Follow-up fix)
https://bugs.webkit.org/show_bug.cgi?id=219982
<rdar://problem/72427536>

Reviewed by Aakash Jain.

  • Scripts/libraries/webkitscmpy/webkitscmpy/canonicalize/init.py:

(Canonicalize.main): git filter-branch requires the repository root.

Location:
trunk/Tools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r271199 r271203  
     12021-01-06  Jonathan Bedard <jbedard@apple.com>
     2
     3        [webkitscmpy] Add command to canonicalize unpushed commits (Follow-up fix)
     4        https://bugs.webkit.org/show_bug.cgi?id=219982
     5        <rdar://problem/72427536>
     6
     7        Reviewed by Aakash Jain.
     8
     9        * Scripts/libraries/webkitscmpy/webkitscmpy/canonicalize/__init__.py:
     10        (Canonicalize.main): git filter-branch requires the repository root.
     11
    1122021-01-06  Lauro Moura  <lmoura@igalia.com>
    213
  • trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/__init__.py

    r271182 r271203  
    4747    )
    4848
    49 version = Version(0, 7, 0)
     49version = Version(0, 7, 1)
    5050
    5151AutoInstall.register(Package('fasteners', Version(0, 15, 0)))
  • trunk/Tools/Scripts/libraries/webkitscmpy/webkitscmpy/canonicalize/__init__.py

    r271182 r271203  
    7575            '--count', '--no-merges',
    7676            '{remote}/{branch}..{branch}'.format(remote=args.remote, branch=branch),
    77         ], capture_output=True, cwd=repository.path)
     77        ], capture_output=True, cwd=repository.root_path)
    7878        if result.returncode:
    7979            sys.stderr.write('Failed to find local commits\n')
     
    136136                    ),
    137137                ] + message_filter + ['{}...{}'.format(branch, base.hash)],
    138                     cwd=repository.path,
     138                    cwd=repository.root_path,
    139139                    env={'FILTER_BRANCH_SQUELCH_WARNING': '1', 'PYTHONPATH': ':'.join(sys.path)},
    140140                    stdout=devnull if log.level > logging.WARNING else None,
Note: See TracChangeset for help on using the changeset viewer.