You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From time to time I see reviewer asks people to "use hg copy" to preserve file copying history. I wonder how do to that if we are using git-cinnabar & git-mozreview locally?
The text was updated successfully, but these errors were encountered:
For now, you can do that in two steps: write a patch that moves the file (and change the corresponding build system stuff), and a second patch that does changes after that.
The workaround doesn't work if the new file isn't functional in the new location, e.g., porting a test between .html and .xul or from mochitest to wpt. It would be desirable to preserve the history in these cases, and reviewers might reasonably insist on it. It also makes the diff more readable.
The workaround I used that actually worked is to just import into an hg repo. :( Fortunately I do know enough basic hg commands to import a patch from git and submit it to MozReview.
From time to time I see reviewer asks people to "use
hg copy
" to preserve file copying history. I wonder how do to that if we are using git-cinnabar & git-mozreview locally?The text was updated successfully, but these errors were encountered: