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.

Bug 198316

Summary: standard mercurial/git patches cannot be applied
Product: utilities Reporter: Ondrej Vrabec <ovrabec>
Component: DiffAssignee: Tomas Stupka <tstupka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: patch that should creat a new file

Description Ondrej Vrabec 2011-05-04 15:12:45 UTC
If you try to apply a patch (using Tools > Apply patch) generated by git or mercurial, info about new (and deleted) files is skipped. Instead of creating a file with the name given in the patch, a file *dev/null* is created.
It is unacceptable. Please fix this ASAP.
Comment 1 Ondrej Vrabec 2011-05-04 15:13:38 UTC
Created attachment 108107 [details]
patch that should creat a new file
Comment 2 Tomas Stupka 2011-05-05 14:35:54 UTC
fixed in http://hg.netbeans.org/core-main/rev/d89a442519e7
Comment 3 Quality Engineering 2011-05-06 05:07:29 UTC
Integrated into 'main-golden', will be available in build *201105060000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d89a442519e7
User: Tomas Stupka <tstupka@netbeans.org>
Log: Issue #198316 - standard mercurial/git patches cannot be applied