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

Re: updating a file in repository

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-11-28 14:05:53 CET

Hello Robert,

The best way to help you is to checkout your old version into any path,
then move the .svn folder to your new location.

For instance, let's say that on your first machine, you had folder
/usr/local/httpd/conf under revision control. After reformatting, you
install Apache again, and now you want your httpd.conf to be stored in
your repos. Do the following sequence:
$ pwd
/tmp
$ svn checkout file:///path/to/repos/path/to/httpd/conf/root
$ mv root/.svn /usr/local/httpd/conf
$ cd /usr/local/httpd/conf
$ svn status
M httpd.conf

Hope that helps,
François

On Fri, 28 Nov 2003 11:39:55 +0100, "Robert" <robertLinux@gmx.de> said:
>
> Am 26.11.2003 um 17:31 schrieb Robert:
>
> > I have a file in my repository which I want to update from a location
> > which is not a working copy (yet).
>
> Ok. I have a folder containing one file. I checked it into my
> repository. Say this file is my first version of httpd.config.
>
> Now I formatted my HD and installed a new linux version. I manually
> created a new httpd.config locally and I want to add it to my
> repository as second version of that httpd.config.
>
> Obviously I have to make my new local folder a working copy (put under
> svn control). But I don't wan't svn to overwrite my second version with
> the first version when checking out.
>
> I am quite shure that did work in 0.28 or 0.26. I used it a lot.
>
> When this feature is removed, can I have it back? I mean the syntax:
> svn checkout http://IP:Port/path_to_my_file/ .
>
> when it just put then uncontrolled local folder under svn control but
> does not get any files out of the repository ?
>
> It was very useful.
>
> For the moment, is there a workaround I could use right now?
>
> Thank you for help!
> Robert
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
Developer of Java Gui Builder
http://jgb.sourceforge.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 28 14:09:37 2003

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