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: | Getting diff fail by org.netbeans.modules.hudson.mercurial.MercurialHyperlink.findParent() | ||
---|---|---|---|
Product: | connecteddeveloper | Reporter: | Masaki Katakai <masaki> |
Component: | Hudson | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Masaki Katakai
2009-05-02 03:03:50 UTC
I think due to Hg upgrade; will check this patch: diff --git a/hudson.mercurial/src/org/netbeans/modules/hudson/mercurial/MercurialHyperlink.java b/hudson.mercurial/src/org/netbeans/modules/hudson/mercurial/MercurialHyperlink.java --- a/hudson.mercurial/src/org/netbeans/modules/hudson/mercurial/MercurialHyperlink.java +++ b/hudson.mercurial/src/org/netbeans/modules/hudson/mercurial/MercurialHyperlink.java @@ -128,7 +128,7 @@ } private static final Map<String,String> parents = new HashMap<String,String>(); - private static final Pattern PARENT_COMMENT = Pattern.compile("# Parent ([0-9a-f]{40})"); // NOI18N + private static final Pattern PARENT_COMMENT = Pattern.compile("# Parent +([0-9a-f]{40})"); // NOI18N private static synchronized String findParent(URI repo, String node) throws IOException { String parent = parents.get(node); if (parent == null) { cdev #7bc68aa9dc1f Integrated into 'main-golden', will be available in build *200905141401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/7bc68aa9dc1f User: Jesse Glick <jglick@netbeans.org> Log: #164301: slight format change in newer Hg servers. |