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.
Summary: | Export diff patch uses repository path | ||
---|---|---|---|
Product: | utilities | Reporter: | novakm <novakm> |
Component: | Diff | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | NEW --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
novakm
2008-01-22 13:37:39 UTC
Usage of repository path is intentional, see Issue #72938 and Issue #112582. This is what other patch programs assume. The primary place to apply a patch is the user-selected context. Since this is a wrong place actually at many cases I have implemented some heuristics when looking for the correct place to apply the patch. You patch file, however, does not contain enough information to correctly determine the right place because a new file can be placed anywhere. I would consider this an RFE to: - in case of new files try to match path in the Index entry to a file system path and if it finds a similar structure (JavaDiffApplication/src/javadiffapplication), apply the patch there |