Hello Clayton, I've just downloaded the nightly.
It works very well. Thanks a lot for this quickly fix. Pierre. |---------+--------------------------------------> | | [EMAIL PROTECTED]| | | com | | | Sent by: | | | [EMAIL PROTECTED]| | | ceforge.net | | | | | | | | | 24/01/05 16:52 | | | | |---------+--------------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Pierre THOREY/ress/fr/[EMAIL PROTECTED], NANT-USERS@lists.sourceforge.net | | cc: | | Subject: RE: [Nant-users] Automatic quoting. | >------------------------------------------------------------------------------------------------------------------------------| Hi Pierre, this should be fixed in the nightly. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: January 24, 2005 7:38 AM > To: NANT-USERS@lists.sourceforge.net > Subject: [Nant-users] Automatic quoting. > > > Hi, > > I'm using nant-0.85-rc1 . > > I want to realize a check-out on a given tag. > > I'm trying this : > <target name="test.checkout"> > <cvs-checkout > destination="c:\checkout" > cvsroot=":pserver:[EMAIL PROTECTED]:/home/az/CVSDIR" > module="my_module" > verbose="true" > usesharpcvslib="false" > sticky-tag="revision_1" > /> > </target> > > I got this : > [cvs-checkout] Using ssh binary: > [cvs-checkout] Using .cvspass file: > [cvs-checkout] Working directory: c:\checkout > [cvs-checkout] Executable: cvs.exe > [cvs-checkout] Arguments: > -d:pserver:[EMAIL PROTECTED]:/home/az/CVSDIR checkout " -r > revision_1" my_module [cvs-checkout] Starting 'cvs.exe ( > -d:pserver:[EMAIL PROTECTED]:/home/az/CVSDIR > checkout "-r revision_1" my_module)' in 'c:\checkout' > [cvs-checkout] cvs [server aborted]: no such tag revision_1 > > Well, I put cvs.exe -d:pserver:[EMAIL PROTECTED]:/home/az/CVSDIR > checkout "-r revision_1" my_module in a prompt command. It > doesn't work. > > However, when I try cvs.exe > -d:pserver:[EMAIL PROTECTED]:/home/az/CVSDIR checkout -r revision_1 > my_module , it works. The only difference is that I removed > the quote embracing -r revision. > > I have seen in the source code (yes, I have time for that > today ;))) , and actually in Argument.cs , I can see: else if > (argument.IndexOf("'") > -1 || argument.IndexOf(" ") > -1) { > // argument contains space and is not > quoted, so quote it > return '\"' + argument + '\"'; > Because there is a space between -r and revision, it puts a quote. > > As a solution, I will launch "cvs.exe" as an external > command. However, is there a better solution ? > > Thanks, > > Pierre. > > > > > > ****************************************************************** > This message and any attachments (the "message") are > confidential and intended solely for the addressee(s). Any > unauthorised use or dissemination is prohibited. E-mails are > susceptible to alteration.Neither SOCIETE GENERALE nor any of > its subsidiaries or affiliates shall be liable for the > message if altered, changed or falsified. > *************** > Ce message et toutes les pieces jointes (ci-apres le > "message") sont confidentiels et etablis a l'intention > exclusive de ses destinataires. Toute utilisation ou > diffusion non autorisee est interdite. Tout message > electronique est susceptible d'alteration.La SOCIETE GENERALE > et ses filiales declinent toute responsabilite au titre de ce > message s'il a ete altere, modifie ou falsifie. > ****************************************************************** > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive > Reporting Tool for open source databases. Create drag-&-drop > reports. Save time by over 75%! Publish reports on the web. > Export to DOC, XLS, RTF, etc. Download a FREE copy at > http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Nant-users mailing list > Nant-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nant-users > ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users ****************************************************************** This message and any attachments (the "message") are confidential and intended solely for the addressee(s). Any unauthorised use or dissemination is prohibited. E-mails are susceptible to alteration.Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates shall be liable for the message if altered, changed or falsified. *************** Ce message et toutes les pieces jointes (ci-apres le "message") sont confidentiels et etablis a l'intention exclusive de ses destinataires. Toute utilisation ou diffusion non autorisee est interdite. Tout message electronique est susceptible d'alteration.La SOCIETE GENERALE et ses filiales declinent toute responsabilite au titre de ce message s'il a ete altere, modifie ou falsifie. ****************************************************************** ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Nant-users mailing list Nant-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users