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 <<a href="mailto:jamie@postlude.co.uk">jamie@postlude.co.uk</a>> 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>> Hi all,<br>> I have searched high and low for a way to get a patch's file-name, and<br>> am quite surprised that there seems to be no way to do it.
<br>><br>><br>> I was about to set out making a Subversion library so I could get the<br>> status of my patches (and commit changes) from inside Pd. But that's<br>> quite impossible without this object.
<br>><br>><br>> [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></div>