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 141112 - The mercurial python script interferes with Mercurial Queues
Summary: The mercurial python script interferes with Mercurial Queues
Status: RESOLVED WONTFIX
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 07:41 UTC by emi
Modified: 2010-10-13 07:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emi 2008-07-22 07:41:11 UTC
The netbeans codebase has a maven-like design where actual binary files are empty and just contain a link to the actual
binary URL on the net.

This is done via some mercurial script which seems to interfere with Mercurial Queues [MQ]
(http://hgbook.red-bean.com/hgbookch12.html ). Mercurial Queues comes with the default mercurial install.

Basically MQ handles patch management by storing the changeset in a patch file. But now, it seems to also detect the
changes in the "fake" binary files. Shouldn't these be transparent due to the mercurial script ?

In truth, I'm not sure it's a bug in the mercurial plugin from netbeans or in the mercurial queues implementation.
Comment 1 Jesse Glick 2008-07-22 21:29:45 UTC
Yes, we use encode/decode hooks:

http://wiki.netbeans.org/HgExternalBinaries

MQ does not work correctly with such hooks (I think it affects even simple CRLF translation):

http://www.selenic.com/mercurial/bts/issue887

(Patches which do not involve changes to external binaries work fine.)

We will probably stop using the external binaries hook soon anyway.