Intland's free requirements, development and test management hosting.
This server hosts 100.000+ users on the cloud!
Add subrepository support#11871/v12
more
Tags:  not added yet

Add subrepository support[BUG-11871]

Tracker: Bugs Priority: NormalNormal Status: Reopened
Submitted by: asafm May 05, 2010 10:22 Modified by: johnpeb Sep 13, 2011 12:30 Assigned to: ilya_ivanov, johnpeb, npiguet Feb 25, 2011 01:02
Category: Core Severity: Major Resolution: In Development
Release: -- Detected: --
Relations
Loading...
Description
Hi,

We have 4 repositories in our product (foo): foo-parent foo foo-backend foo-commons

foo-parent repository includes the three repositories as sub repositories (using the .hgsubstate file).

Also each repository is a maven project, in that hierarchy. Each sub-repository is a module inside foo-parent.

Every now and then, on save, the following error message pops:

abort: path 'foo-backend/src/main/java/com/acme/foo/app/customers/services/CustomerService.java' is inside repo 'foo-backend'. Command line: /home/asaf/work/food/foo-build-2.2.0/foo-parent/hg -y status -marduc -- /home/asaf/work/acme/foo-build-2.2.0/foo-parent/foo-backend/src/main/java/com/acme/foo/app/customers/services/CustomerService.java

The exception stack trace is:

abort: path ...
at com.vectrace.MercurialEclipse.commands.AbstractShellCommand.executeToStream(AbstractShellCommand.java:346)
at com.vectrace.MercurialEclipse.commands.HgCommand.executeToStream(HgCommand.java:156)
at com.vectrace.MercurialEclipse.commands.AbstractShellCommand.executeToBytes(AbstractShellCommand.java:287)
at com.vectrace.MercurialEclipse.commands.AbstractShellCommand.executeToBytes(AbstractShellCommand.java:276)
at com.vectrace.MercurialEclipse.commands.AbstractShellCommand.executeToBytes(AbstractShellCommand.java:272)
at com.vectrace.MercurialEclipse.commands.AbstractShellCommand.executeToString(AbstractShellCommand.java:485)
at com.vectrace.MercurialEclipse.commands.HgStatusClient.getStatusWithoutIgnored(HgStatusClient.java:145)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.refreshStatus(MercurialStatusCache.java:1131)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache.access$0(MercurialStatusCache.java:1087)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache$ProjectUpdateJob.updateProject(MercurialStatusCache.java:131)
at com.vectrace.MercurialEclipse.team.cache.MercurialStatusCache$ProjectUpdateJob.run(MercurialStatusCache.java:113)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

Session Data:

eclipse.buildId=
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

The IDE becomes unworkable with this bug.

Netbeans handles this configuration quite well (but I don't like it:)

Thanks!

Asaf

Details
Comments & Attachments (27)
Associations (5)
Children (0)
References (0)
SCM Commits (0)
All (0)

Author Comment
Nothing found to display.