[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Merging upstream changes without svn_load_dirs

From: Torsten Landschoff <torsten_at_debian.org>
Date: 2004-02-07 00:19:03 CET

Hi *,

Just had to hack around inavailability of svn_load_dirs on my system.
Quick and dirty hack to get the changes from swig-1.3.20 to swig-1.3.21
into my repository:

$ find swig-current \( -name .svn -prune -false \) -o -type f|xargs rm
  (removes all files apart from those in .svn)
$ mv swig-current SWIG-1.3.21
$ tar -xzf swig-1.3.21
  (goes into SWIG-1.3.21)
$ cd SWIG-1.3.21/
$ svn stat|grep '^?'|cut -b 8-|xargs svn add
$ svn stat|grep '^!'|cut -b 8-|xargs svn rm

then I exported and compared to the upstream tar before svn commit.

I know this is a quick hack but it worked, perhaps it is helpful for
somebody or I'll get some hints to make it better ;)



  • application/pgp-signature attachment: stored
Received on Sat Feb 7 00:19:42 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.