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
C src/library/utils/R/debugcall.R
> rejected hunk @@ -31,13 +31,27 @@
C tests/reg-tests-1d.R
> rejected hunk @@ -5998,7 +5998,23 @@
Summary of conflicts:
Text conflicts: 2
I am unclear myself how to proceed in this case since it didn't leave any conflict markers. It looks like we'll have to generate the patch from scratch based on the current trunk?
svn help patch recommends updating to the revision the patch had been generated from before applying a patch and then updating back to HEAD (which will uncover the conflicts and prompt for resolution). So in order to "rebase" a patch, it will be needed to:
Start with a clean checkout of R
svn up -r $N where $N is the source revision
svn apply "$patch", which should apply cleanly
svn up HEAD, which will interactively ask about each conflict. If interrupted, conflict resolution can be continued again by running svn resolve.
svn diff to obtain the newly conflict-free patch
People who prefer Git can also start with a Git mirror, find out the commit $start corresponding to the source revision of the patch and then run:
git checkout -b updated_patch $start
patch -p0 <"$patch" or apply the patch in a different way
git commit -a -m "Patch from R Bugzilla PRNNNNN"
git rebase master
Resolve conflicts
git diff master...updated_patch to obtain the now conflict-free patch
Adjust or regenerate patch for Subversion compatibility
I'm interested in helping to confirm the patches proposed in r-devel/bug-bbq#2, but at the moment, I cannot find instructions for applying a patch.
An example I can find is from the patches proposed in https://bugs.r-project.org/show_bug.cgi?id=18145 and https://bugs.r-project.org/show_bug.cgi?id=17918, which both touch the same function, but are yet unconfirmed. These patches are both over 2 years old and it's not clear whether or not they can be neatly applied.
The text was updated successfully, but these errors were encountered: