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 202059 - Corrupted content in hg.netbeans.org
Summary: Corrupted content in hg.netbeans.org
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P2 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-13 09:53 UTC by Peter Nabbefeld
Modified: 2011-11-01 19:10 UTC (History)
3 users (show)

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 Peter Nabbefeld 2011-09-13 09:53:01 UTC
When trying to fetch NB from hg repository, I get the following message:


Mercurial Fetch
---------------
INFO: Running Fetch for C:\nb\main
ERROR Command failed:
Command: [hg, fetch, -v, --config, extensions.fetch=, --config, ui.merge=internal:merge, --repository, C:\nb\main, http://hg.netbeans.org/main/]
Output: [pulling from http://hg.netbeans.org/main/, searching for changes, adding changesets, adding manifests, adding file changes, added 136 changesets with 240 changes to 225 files, abort: case-folding collision between maven.osgi/src/org/netbeans/modules/maven/osgi/templates/activator.java.template and maven.osgi/src/org/netbeans/modules/maven/osgi/templates/Activator.java.template]
INFO: End of Mercurial Fetch


This collision makes it impossible to build NB on Windows any more.
Comment 1 Jiri Skrivanek 2011-09-13 10:21:19 UTC
I have also seen that abort message but it didn't affect my repository and maven.osgi is buildable for me. What is actual error message?
Comment 2 Peter Nabbefeld 2011-09-13 10:24:56 UTC
I've fetched from repo using NB, and I've pasted the complete content of the output window - haven't got more, sorry.

I've not built NB now, because I assume the working dir to be corrupted (as I couldn't do a complete checkout because of the clash - at least one of the two files will be missing).
Comment 3 Tomas Stupka 2011-09-13 10:46:43 UTC
http://mercurial.selenic.com/wiki/CaseFolding

solved by ovrabec in #b210c4d52245

just make a new clone

this definitely isn't netigso, not sure though if there is a product/component to cover this
Comment 4 Jesse Glick 2011-10-14 16:43:51 UTC
(In reply to comment #3)
> just make a new clone

This is almost always bad advice. Just needed to wait for the fix, and update.

> not sure though if there is a product/component to cover this

There is.
Comment 5 Tomas Stupka 2011-10-17 09:16:24 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > just make a new clone
> 
> This is almost always bad advice. Just needed to wait for the fix, and update.
it's some time ago, so not sure anymore, just so much that i've run into the same problem as the reporter, the fix from ondra was already out but to pull & update didn't work
Comment 6 Jesse Glick 2011-11-01 19:10:02 UTC
(In reply to comment #5)
> pull & update didn't work

For such cases try:

ant clean
hg up -c null
hg pull
hg up default