Re: svn stat on new files
From: Martin Pool <mbp_at_samba.org>
Date: 2002-12-09 03:09:13 CET
Following on from this, I thought I would experiment with resolving a
In the repository that lost the race to commit the file:
% svn stat
(I've marked-for-add but not committed; somebody else has already
% svn up
OK, fine...
% mv added added.new
I suspect the average user will respond to "obstructed update" by
% svn up
OK, so "added" was added by someone else, and was put into my wc when
% svn stat
This seems strange... Since the file "added" in this wc came from
Perhaps I should have svn rm'd my "added" file before I tried to
Things now seem a bit broken...
% svn commit added
Having screwed things up, perhaps reverting will save me?
% svn revert added
Sounds good...
% svn stat -uv
It looks like svn thought that because the file was locally-added, the
I can think of two possibly better approaches:
1- A conflict between a locally and remotely added file must be
or, 2- When a file is marked as locally added, but there is no wc,
Thanks,
-- Martin Like washing up, unit testing is easy if you do it as you go along. If you leave it for three months, it looks very intimidating. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org For additional commands, e-mail: dev-help@subversion.tigris.orgReceived on Mon Dec 9 03:10:03 2002 |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.