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

Re: svn commit: rev 202 - trunk/subversion/include

From: Mo DeJong <supermo_at_bayarea.net>
Date: 2001-10-03 23:03:47 CEST

On 03 Oct 2001 14:56:11 -0500
Ben Collins-Sussman <sussman@collab.net> wrote:

> sussman@tigris.org writes:
>
> > Author: sussman
> > Date: 2001-10-03 19:53 GMT
> > New Revision: 202
>
> > Rename the administrative directory.
> >
> > * svn_wc.h (SVN_WC_ADM_DIR_NAME): change to '.svn'
>
> OK, follow these steps:
>
> * update your working copy
>
> * compile
>
> * use the binary to checkout a new working copy:
>
> % path/to/old/svn co http://svn.collab.net/repos/svn/trunk -d svn

I just pulled down the new source but I had a little problem moving my
patches over since I could not use the new binary on the old tree. I just
hacked a little script to create symlinks to work around it. Here is
the script I used in case anyone else wanted to hack an old repo
before moving the changes over to a new checkout.

cheers
Mo DeJong

#!/usr/bin/env tclsh

proc svnadm { dir } {
  foreach file [glob -nocomplain $dir/*] {
    if {[file isdirectory $file] } {
      set dir $file
      set tail [file tail $dir]
      if {$tail == "SVN"} {
        set parent [file dirname $dir]
        set cwd [pwd]
        cd $parent
        if {! [file exists .svn]} {
          puts "CD [pwd]: ln -s SVN .svn"
          exec ln -s SVN .svn
        }
        cd $cwd
      }
      svnadm $dir
    }
  }
}

svnadm .

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

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

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