<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div><br class="webkit-block-placeholder"></div><div>It would also be very nice to also have a CVS lib since many people still use CVS out there.  This sounds quite interesting.</div><div><br class="webkit-block-placeholder"></div><div>.hc</div><br><div><div>On Dec 8, 2007, at 7:28 AM, Luke Iannini (pd) wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Thanks so much Jamie!<div><br class="webkit-block-placeholder"></div><div>I've never written a line of C in my life, but I somehow managed to make an unholy union anyway between Guenter's [getdir] and your [getpatchname].  Now [getpatchname] can take a number argument to get the names of its parents.  I attached it here. </div><div><br></div><div>An SVN status library is coming soon (which will be easily adaptable to CVS, but that won't be necessary, of course, since PD is moving to SVN any moment : )).</div><div>Cheers</div><div>Luke <br><br><div class="gmail_quote">On Dec 8, 2007 1:48 AM, Jamie Bullock &lt;<a href="mailto:jamie@postlude.co.uk">jamie@postlude.co.uk</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"> <div><div></div><div class="Wj3C7c"><br>On Fri, 2007-12-07 at 22:14 -0800, Luke Iannini (pd) wrote:<br>&gt; Hi all,<br>&gt; I have searched high and low for a way to get a patch's file-name, and<br>&gt; am quite surprised that there seems to be no way to do it. <br>&gt;<br>&gt;<br>&gt; I was about to set out making a Subversion library so I could get the<br>&gt; status of my patches (and commit changes) from inside Pd.  But that's<br>&gt; quite impossible without this object. <br>&gt;<br>&gt;<br>&gt; [getdir] can get the patch's directory; that's as far as I got.<br><br></div></div>In CVS: postlude/getpatchname should do the trick.<br><br>Jamie<br><font color="#888888"><br>--<br><a href="http://www.postlude.co.uk" target="_blank"> www.postlude.co.uk</a><br><br></font></blockquote></div><br><span>&lt;getpatchname.c&gt;</span>_______________________________________________</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a></div> </blockquote></div><br><div> <span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><br class="Apple-interchange-newline"><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div><br></div><div>----------------------------------------------------------------------------</div><div><br></div><div>I spent 33 years and four months in active military service and during that period I spent most of my time as a high class muscle man for Big Business, for Wall Street and the bankers.      - General Smedley Butler</div><br class="Apple-interchange-newline"></span></span> </div><br></body></html>