<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>Ok I'll put it back.<br><br> - Jay/phone<br><br>> From: rcolebur@SCIRES.COM<br>> To: jkrell@elego.de; m3commit@elegosoft.com<br>> Date: Sat, 20 Nov 2010 20:54:09 -0500<br>> Subject: Re: [M3commit] CVS Update: cm3<br>> <br>> Jay: <br>> <br>> My recollection about the reason this was coded as a "pushd foo" followed by a "cd .." was to get around a problem in one of the older cmd shell variants. <br>> <br>> I agree that "pushd foo\bar" is better than "pushd foo" "cd bar", but note that relative paths are being used in some of my code that you changed, so your example is not exactly the same.<br>> <br>> My experience with an older shell (I can't remember which) is that it ran into problems with<br>> Pushd ..\..\..<br>> Popd<br>> when the target of the original pushd did not exist.<br>> <br>> ALSO WORD TO THE WISE: IF IT ISN'T BROKE, DON'T FIX IT. This code was working fine. Your "optimization" is trivial and may wind up breaking something (esp. if my recollection is correct).<br>> <br>> Regards,<br>> Randy<br>> <br>> -----Original Message-----<br>> From: Jay Krell [mailto:jkrell@elego.de] <br>> Sent: Wednesday, November 10, 2010 7:29 AM<br>> To: m3commit@elegosoft.com<br>> Subject: [M3commit] CVS Update: cm3<br>> <br>> CVSROOT: /usr/cvs<br>> Changes by: jkrell@birch. 10/11/10 12:28:36<br>> <br>> Modified files:<br>> cm3/scripts/dev/windows/: do-cm3.cmd <br>> <br>> Log message:<br>> pushd foo<br>> cd bar<br>> <br>> is terser and no less clear as<br>> pushd foo\bar<br>> <br> </body>
</html>