Am 21.10.2011 um 22:25 schrieb Stephan Witt: > Am 21.10.2011 um 21:38 schrieb Lars Gullik Bjønnes: > >> Stephan Witt <st.w...@gmx.net> writes: >> >> | Am 21.10.2011 um 14:09 schrieb Pavel Sanda: >>> >>>> Buenas Noticias wrote: >>>>> Ok. Subversion 1.7 is incompatible with LyX. >>>> >>>> maybe i was wrong and problem is not with lyx per se. >>>> can you please try again with completely new repo (checkout from 1.7) >>>> or upgrade as stated by Enrico? >>> >> | It's LyX having a problem. There is no local .svn meta-directory anymore. >>> >> | The attached patch is a possible solution. >> >> Hmm are you sure? At top level in the wc there should be some .svn >> equivalent thing. > > Yes, this is true. But > 1) it's not nice to traverse up IMHO > 2) the entries file contains only one single line (contents is not 42 but 12) > >> But you have to reverse-traverse the dir structure to look for it, if it >> is not in the current directory. > > Another much more tested patch is attached. > Using "svn status -v" I could avoid the need to collect stderr (again).
Pavel, I've tested this patch with 1.7 SVN and on Linux with 1.6. Because I've only the LYX SVN repository at hand I don't want to test all operations. But the detection of SVN repository members is working now. Should I commit it or are you seeing any risk in using "svn status" in SVN::findFile? Stephan