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

Re: Unversioned files oddities

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Sat, 26 Jun 2010 09:29:53 +0200

On 25.06.2010 20:15, Uwe Schuster wrote:
> Hi,
>
> I've noticed the following oddities related to unversioned files and can't
> find a report in your issue tracker for it.
> (Is it correct that there are only 13 tasks in your issue tracker?)

Yes, we like to keep the tracker clean - if there are hundreds of issues
like many other projects do, then the tracker isn't really useful
because you can't keep track of all the issues anymore. It's then just a
mess.
For example, check the tracker for Subversion itself: hundreds of
issues. Go though all of them and you'll discover that many are invalid
and a lot of them aren't even relevant anymore (either because the issue
is already fixed or irrelevant because of changes on how things work).
So yes, only 13 tasks in our issue tracker for now.

> I noticed them with 1.6.8 and it still repeats with 1.6.9. I have no idea
> if it ever worked.
>
> Issue #1:
> - in a versioned path create a new dir and create a file in that dir
>
> Means
> + c:\svn\versionedpath\unversioned\
> + c:\svn\versionedpath\unversioned\foo.txt
>
> - call commit for the versioned path
> (c:\svn\versionedpath\)
> - check "Show unversioned files"
> - call the popup menu for the new file (unversioned/foo.txt) and
> click "Add"
>
> expected: these items will be added
> - new dir (unversioned)
> - new file (unversioned/foo.txt)
> (this would be similar to checking unversioned/foo.txt, which does also
> check it's unversioned parents)
>
> actual: only the file (unversioned/foo.txt) is added and that leads to
> this commit error
>
> Command: Commit
> Error: Commit failed (details follow):
> Error: 'c:\svn\versionedpath\unversioned' is not under version control
> and is not
> Error: part of the commit, yet its child
> Error: 'c:\svn\versionedpath\unversioned\foo.txt' is part of the commit
> Finished!:

Fixed in r19761.

> Issue #2:
> - in a versioned path create a new dir and create a file in that dir
>
> Means
> + c:\svn\versionedpath\unversioned\
> + c:\svn\versionedpath\unversioned\foo.txt
>
> - add the new dir and the new file (do not commit it)
> - call revert for the versioned path
> - check the new dir and the new file
> - press OK
>
> expected: add for the new dir and file will be reverted
>
> actual: only add for the new dir is revert and revert for the file fails
>
> Command: Revert
> Reverted: c:\svn\versionedpath\unversioned
> Error: 'c:\svn\versionedpath\unversioned\foo.txt' is not a working copy
> Finished!:

This is working properly on trunk.

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2626181
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-06-26 09:30:20 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.