In message <[EMAIL PROTECTED]> on Fri, 23 Jun 2006 15:43:03 -0500, Venkatesh Prasad Ranganath <[EMAIL PROTECTED]> said:
vranganath> vranganath> On Jun 23, 2006, at 2:47 PM, Richard Levitte - VMS Whacker wrote: vranganath> vranganath> > In message <[EMAIL PROTECTED]> on Fri, vranganath> > 23 Jun 2006 13:38:19 -0500, Venkatesh Prasad Ranganath vranganath> > <[EMAIL PROTECTED]> said: vranganath> > vranganath> > vranganath> (cd /tmp/monotone_repo/; mtn tag `cat _MTN/revision` vranganath> > $TAG_DATE) vranganath> > vranganath> vranganath> > vranganath> However, this command execution results in the vranganath> > following message. vranganath> > vranganath> vranganath> > vranganath> mtn: misuse: monotone tag doesn't use the option --execute vranganath> > vranganath> vranganath> > vranganath> TAG_DATE is set to D`date +%F | sed -e "s/-/_/g"` via the vranganath> > vranganath> bash export command. vranganath> > vranganath> > Uhmmm, what happens when you do this: vranganath> > vranganath> > echo $TAG_DATE vranganath> > vranganath> > Did you get what you expected? vranganath> vranganath> Yes. The same tag works with cvs (in a successive cron job). You know, the only thing that worries me is that monotone uses -e as a short variant of --execute. The only place where I see -e is in you sed expression, so I'm wondering what you expected to get from echo $TAG_DATE. Me, I would expect to get something like 'D2006_06-24', and I don't see how monotone could think that's even close to -e or --execute... Cheers, Richard ----- Please consider sponsoring my work on free software. See http://www.free.lp.se/sponsoring.html for details. -- Richard Levitte [EMAIL PROTECTED] http://richard.levitte.org/ "When I became a man I put away childish things, including the fear of childishness and the desire to be very grown up." -- C.S. Lewis _______________________________________________ Monotone-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/monotone-devel
