You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Rex Zhen <re...@yahoo.com> on 2007/08/29 23:48:01 UTC
syn file to svn
i have a lot files which are newer than those in the svn repository
with the same name. how can I import all those files and still keep
the history?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: syn file to svn
Posted by Andy Levy <an...@gmail.com>.
On 8/29/07, Rex Zhen <re...@yahoo.com> wrote:
> i have a lot files which are newer than those in the svn repository
> with the same name. how can I import all those files and still keep
> the history?
1) Check out from the repository
2) Overlay your copies
3) Commit
Assuming that keeping history is the right thing to do. If they're
truly different files, it should be:
1) Check out from the repository
2) Delete
3) Commit
4) Copy your files into the working copy
5) Add
6) Commit
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: syn file to svn
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 29, 2007, at 18:48, Rex Zhen wrote:
> i have a lot files which are newer than those in the svn repository
> with the same name. how can I import all those files and still keep
> the history?
Generally you would check out a working copy from the server, then
copy your newer files over the existing files in the working copy.
Use "svn status" and "svn diff" to ensure these changes are ones you
would like to make. Then "svn commit" to get the changes saved to the
repository.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org