Yeah, I do:

mv file d
svn remove file
mv d !$
svn add !$

There might be something simpler, I'm not sure, and some days I think I should put that into a script, so I don't have to retype it, but how often do I need it...

(slightly off-topic, I did finally write a related script to do:
"svn add `svn stat | grep ^? | awk '{print $2}'`; svn commit -m asdasd"
that I was typing multiple times a day.)




On Tue, 21 Feb 2023, Sean McBride wrote:
Hi all,

Today I hit something I never saw before: a ~ in svn status output.

Indeed, a file that is a symlink in the repo was (deliberately) changed to a 
plain file in my working copy.  I appreciate that this could be a mistake 
generally, but when it's deliberate, how do I signal to svn that it's ok?

I guess I could always: remove, commit, re-add, commit, but can it not be done 
otherwise?

Thanks,

Sean


--
Jon Daley
https://jon.limedaley.com
~~
So, on Wednesday, we will go into more depth in this...
  or at least repeat it.
-- Dr. Langevin

Reply via email to