Closed Bug 1458897 Opened 6 years ago Closed 6 years ago

svn revert in build-clang does not revert

Categories

(Firefox Build System :: General, enhancement)

3 Branch
enhancement
Not set
normal

Tracking

(firefox62 fixed)

RESOLVED FIXED
mozilla62
Tracking Status
firefox62 --- fixed

People

(Reporter: tjr, Assigned: tjr)

Details

Attachments

(1 file)

svn revert requires a path, and does not take a revision.  This isn't an issue on build machines because we do a fresh checkout every time.

But if you're trying to run build-clang locally, with existing checkouts, it will:
1) successfully svn update
2) run svn revert, saying "Skipped <rev>" (except you don't see it because of -q
3) svn revert returns a successfull eror code
4) patch fails because the file was never reverted and it attempts to re-apply the patch

Also I think the revert command needs to come first.
Comment on attachment 8972874 [details]
Bug 1458897 Fix svn revert in build-clang so one can re-run it successfully

https://reviewboard.mozilla.org/r/241428/#review248086
Attachment #8972874 - Flags: review?(mh+mozilla) → review+
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/362c5d31459a
Fix svn revert in build-clang so one can re-run it successfully r=glandium
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/362c5d31459a
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla62
Version: Version 3 → 3 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: