svn update overwrite local copy - can I retrieve local copy?
Posted
by Myx
on Stack Overflow
See other posts from Stack Overflow
or by Myx
Published on 2010-05-11T20:05:08Z
Indexed on
2010/05/11
20:14 UTC
Read the original article
Hit count: 164
Hi: So I was editing a file on my local machine and I was ready to commit to the repository except that instead of running the svn commit
, I ran svn update
. Is there any way I can retrieve the changes that I had? I was working on a tex
file in vim
and I had closed the file before running svn update
.
Thanks.
EDIT: I'm sorry - I completely was worried for nothing (project deadline in 30 mins and I thought I deleted all my changes). I realize that when I run svn update
, it doesn't rewrite the local changes but tries to merge the files if there are no conflicts. Can someone tell me how to close or remove this post? Thanks.
© Stack Overflow or respective owner