[plt-scheme] personal svn question?

From: Grant Rettke (grettke at acm.org)
Date: Sat May 19 00:01:11 EDT 2007

Hi Kyle,

>  I have my own code in a local svn repository, and  have made a lot of
> changes since my last commit.

I've done that a bunch of times, I think everyone has (intentionally
or not). I would do what Rob suggested, run an update and you will get
the stuff back that you are missing. In your case, you don't need to
worry about merging if that is your private repo. I walked through it
just be sure it works how I remembered. It does.

I created a test project with a file and subdirectory. Here is how it
looks (in DOS) to delete a directory and then 'restore' it with
update.

===========================================================

C:\Temp\svntest\test>svn update
A    add
A    add\there.txt
Updated to revision 2.

C:\Temp\svntest\test>dir
 Volume in drive C has no label.
 Volume Serial Number is 943A-3D59

 Directory of C:\Temp\svntest\test

05/18/2007  10:59 PM    <DIR>          .
05/18/2007  10:59 PM    <DIR>          ..
05/18/2007  10:59 PM    <DIR>          add
05/18/2007  10:54 PM                11 hi.txt
05/18/2007  10:53 PM                38 hi.txt~
               2 File(s)             49 bytes
               3 Dir(s)  187,645,960,192 bytes free

C:\Temp\svntest\test>svn status
M      hi.txt

C:\Temp\svntest\test>svn diff hi.txt
Index: hi.txt
===================================================================
--- hi.txt      (revision 2)
+++ hi.txt      (working copy)
@@ -1 +1,2 @@
 hi
+there

C:\Temp\svntest\test>svn commit -m ""
Sending        hi.txt
Transmitting file data .
Committed revision 3.

===================================================


Posted on the users mailing list.