On Tue, Nov 11, 2008 at 3:43 PM, Max Brazhnikov <[EMAIL PROTECTED]> wrote: > On Tue, 11 Nov 2008 22:08:20 +0200, David Naylor wrote: >> As a note about these 'FAQ'. I find that running the following script >> solves the problem with patches 'showing' through the unionfs: >> >> cd $AREA51 >> for i in `find . -type d -depth 2` >> do >> rm -rf /usr/ports/$i >> done >> mount -t unionfs $AREA51 /usr/ports >> >> Of course this mitigates the reason for using unionfs... >> >> An alternative would be to delete all files that 'show' through unionfs >> once it has been mounted (whiteout I believe it is called). The following >> script might work but I have never tried it: >> >> cd $AREA51 >> area51_ports=`find . -type d -depth 2` >> mount -t unionfs $AREA51 /usr/ports >> cd /usr/ports >> for i in $area51_ports >> do >> for j in `find -d $i` >> do >> if [ ! -e $AREA51/$j ] >> then >> rm -rf $AREA51/$j >> fi >> done >> done >> >> But then I have no idea on how to undelete the files (if, for example, >> another file is created post- with the same name). > > There is nice marcusmerge [1] script, which is used to merge Gnome development > ports with portstree. May be someone could/has time to modify it for area51 > ports?
I just gave that a try and it looks to me like it works with no modifications to the marcusmerge script. The command that I used included some custom paths for the SRCDIR and DESTDIR settings, with SRCDIR pointing to my area51 checkout location. Something like this should do the trick: ./marcusmerge.sh -d /path/to/destination/ports -s /path/to/area51 Keep in mind that the -s path has to have a directory in it named "ports" by default to grab from. I did a simple "svn export area51 ports" to make a temp copy to use. Matt > [1] http://www.marcuscom.com/downloads/marcusmerge > http://www.marcuscom.com/marcusmerge.8.html > > _______________________________________________ > kde-freebsd mailing list > kde-freebsd@kde.org > https://mail.kde.org/mailman/listinfo/kde-freebsd > See also http://freebsd.kde.org/ for latest information > _______________________________________________ kde-freebsd mailing list kde-freebsd@kde.org https://mail.kde.org/mailman/listinfo/kde-freebsd See also http://freebsd.kde.org/ for latest information