Bug 225934

Summary: Clean up git svn mapping when git pull
Product: WebKit Reporter: Zhifei Fang <zhifei_fang>
Component: New BugsAssignee: Zhifei Fang <zhifei_fang>
Status: RESOLVED FIXED    
Severity: Normal CC: dewei_zhu, jbedard, rniwa, webkit-bug-importer, zhifei_fang
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Zhifei Fang
Reported 2021-05-18 13:24:53 PDT
Clean up git svn mapping when git pull
Attachments
Patch (1.34 KB, patch)
2021-05-18 13:25 PDT, Zhifei Fang
no flags
Zhifei Fang
Comment 1 2021-05-18 13:25:04 PDT
Zhifei Fang
Comment 2 2021-05-18 13:28:05 PDT
There will be a time different when publish our commit to GitHub and our svn server. git svn will build a fake commit when it can not find the GitHub commit but find a svn revision, it won't include the identifier and it won't have any real commits point to it after the git pull, we should rebuild the svn map to make sure the revision point to the GitHub commit.
Ryosuke Niwa
Comment 3 2021-05-18 13:36:26 PDT
Comment on attachment 428974 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=428974&action=review > Websites/perf.webkit.org/tools/sync-commits.py:291 > + subprocess.check_call(['rm', '-rf', os.path.join(self._git_checkout, '.git/svn')]) Yikes.
EWS
Comment 4 2021-05-18 14:25:52 PDT
Committed r277679 (237880@main): <https://commits.webkit.org/237880@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 428974 [details].
Radar WebKit Bug Importer
Comment 5 2021-05-18 14:26:19 PDT
Note You need to log in before you can comment on or make changes to this bug.