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

Re: svn stat on new files

From: Martin Pool <mbp_at_sourcefrog.net>
Date: 2002-12-09 03:53:43 CET

On 8 Dec 2002, Garrett Rooney <rooneg@electricjellyfish.net> wrote:

> i believe you could do an 'svn revert added' to revert your add, then
> do an 'svn up' to get the new version.

No, that doesn't work.

    % date>added
    % svn add added
    A added
    % svn up
    svn: Obstructed update
    svn: failed to add file 'added': object of the same name already exists
    % rm added

The previous command induces the bug, now I try to recover:

    % svn up
    A added
    Updated to revision 13.
    % ls -l
    total 4
    -rw-r--r-- 1 mbp mbp 29 Dec 9 13:47 added
    % svn stat -v
                   13 13 mbp .
    A 13 13 mbp added
    % svn revert added
    Reverted added
    ls
    % ls
    added
    % svn stat -v
                   13 13 mbp .
    ? added
    % svn up
    At revision 13.
    % svn stat -v
                   13 13 mbp .
    ? added

This should be uptodate, not '?'.

There isn't any obvious way to get back to a working state, which to
me increases the severity of the bug.

-- 
Martin 
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 9 03:54:38 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.