This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
git or mercurial (--git) patches containing renames cannot be applied. Or to be more precise, the rename is not applied:
diff --git a/src/pkg224947/NewClass.java b/src/pkg224947/NewClass2.java rename from src/pkg224947/NewClass.java rename to src/pkg224947/NewClass2.java --- a/src/pkg224947/NewClass.java +++ b/src/pkg224947/NewClass2.java @@ -8,6 +8,6 @@ * * @author ondra */ -public class NewClass { +public class NewClass2 { }
fix: http://hg.netbeans.org/core-main/rev/8e248a0f28db
Integrated into 'main-golden', will be available in build *201302060843* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/8e248a0f28db User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #225757 - Patch action cannot apply patches with renames tuning the patch algorithm to be able to apply git or mercurial renames