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

Re: Bug in command svn ls?

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-01-10 14:20:06 CET

thomas mauch wrote:
> Hello
>
> Erroneously some old backup copies were added to subversion. After
> noticing this, I removed them with the command
>
>> svn del --force utilprot.cpp.19990204 utilconfig.cpp.19990204
>> Utilprot05022001.cpp
>
> and committed the changes. So when I now run
>
>> svn status -u
>
> it shows that everything is up-to-date and three files do not exist any
> longer in the directory.
>
> However, when I run the 'svn ls' command in this directory, the three
> files still get listed. As I was not really sure whether I got the
> meaning of the svn ls command right, I checked out the directory in
> question to another location and if run 'svn ls' there, the deleted
> files get not listed anymore - which is what is would expecting. So this
> looks like a bug to me or am I getting something wrong?

Mixed revision working copies.

"svn ls" == "svn ls ."

And "svn ls" shows you what is in the *repository*.

You may have committed the files, but the directory containing them in your
working copy is still at an earlier revision, so it is that earlier revision
that is shown when you run "svn ls".

Your freshly checked out working copy is at a revision later than the
deletion.

Read the svnbook for more.

Max.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 10 14:27:25 2005

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

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