hmm, I think we should remove this Exception. 
tagging a subdirectory is again only valid in very special SCMs, mainly SVN 
(don't remember how this did behave in CVS anymore).


Usually a tag is a 'name' on a certain snapshot in the whole repo. Tagging a 
repo will just give you this unique snapshot over the repo, regardless of the 
submodule you are currently in. That's a well known behaviour lots of SCMs and 
most people who are using those SCMs should certainly be aware of it.

LieGrue,
strub

--- On Sun, 3/6/11, Andreas Ebbert-Karroum 
<[email protected]> wrote:

> From: Andreas Ebbert-Karroum <[email protected]>
> Subject: Re: How to release a single module in a Mercurial repository?
> To: "Maven Users List" <[email protected]>
> Cc: "Olivier Lamy" <[email protected]>
> Date: Sunday, March 6, 2011, 8:15 PM
> Hi Oliverm
> 
> 2011/3/5 Olivier Lamy <[email protected]>
> 
> > @Andreas
> >
> > I see you are using scm 1.4
> >
> > <dependency>
> >   <groupId>org.apache.maven.scm</groupId>
> >   <artifactId>maven-scm-provider-hg</artifactId>
> >   <version>1.4</version>
> > </dependency>
> >
> > Can you try with 1.5-SNAPSHOT ?
> >
> 
> 
> Yes, I am using the 1.4 release, because the 1.5-Snapshot
> gave an error
> message, that it cannot tag subdirectories of the
> repository. Quote from the
> E-Mail:
> 
> The new dependencies with the snapshot release plugin also
> updates to a
> newer hg scm provider. The new hg scm provider has the
> interesting new habit
> to throw an exception, when you want to tag something,
> which does not
> concern the whole repository.
> 
> Caused by: org.apache.maven.scm.ScmException: This provider
> doesn't support
> tagging subsets of a directory
>         at
> org.apache.maven.scm.provider.hg.command.tag.HgTagCommand.executeTagCommand(HgTagCommand.java:77)
>         at
> org.apache.maven.scm.command.tag.AbstractTagCommand.executeCommand(AbstractTagCommand.java:81)
>         at
> org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:59)
>         ... 29 more
> 
> -- 
> Mit freundlichen Grüßen / Best regards
> 
> Andreas Ebbert-Karroum | Bereichsleiter der Agilen Software
> Factory
> 
> codecentric AG | Merscheider Straße 1 | 42699 Solingen |
> Deutschland
> tel: +49 (0) 212.23362825 | fax: +49 (0) 212.23362879 |
> mobil: +49 (0)
> 175.2664109
> www.codecentric.de | blog.codecentric.de |
> www.meettheexperts.de |
> www.more4fi.de
> 
> Sitz der Gesellschaft: Düsseldorf | HRB 63043
> Vorstand: Klaus Jäger (Vorsitzender) | Mirko Novakovic .
> Rainer Vehns
> Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Bernd
> Klinkmann . Jürgen
> Schütz
> 
> Diese E-Mail einschließlich evtl. beigefügter Dateien
> enthält vertrauliche
> und/oder rechtlich geschützte Informationen. Wenn Sie
> nicht der richtige
> Adressat sind oder diese E-Mail irrtümlich erhalten haben,
> informieren Sie
> bitte sofort den Absender und löschen Sie diese E-Mail und
> evtl. beigefügter
> Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder
> Öffnen evtl.
> beigefügter Dateien sowie die unbefugte Weitergabe dieser
> E-Mail ist nicht
> gestattet.
> 




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to