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

Re: 'svn ls' not consistent with w.c. status? (1.4.3)

From: Toby Thain <toby_at_smartgames.ca>
Date: 2007-06-06 22:37:47 CEST

On 6-Jun-07, at 4:01 PM, Hari Kodungallur wrote:

> On 6/6/07, Blair Zajac <blair@orcaware.com> wrote:
> Toby Thain wrote:
> > ... after committing r12 from this working copy (Subclipse), I
> tried:
> >
> > $ svn ls -v
> >...
> > I was surprised that none of the files updated in r12 were marked as
> > such, so I did:
> >
> > $ svn up
> > At revision 12.
> >
> > Then 'ls' showed what I expected:
> >...
> > Is this normal behaviour?
> Yes, you never pull updates down from the server for files that
> were not
> committed.
> See the mixed revision working copy portion of the Svn boko.
> http://svnbook.red-bean.com/en/1.2/svn.basic.in-
> action.html#svn.basic.in-action.mixedrevs
> "svn ls" does not work on the working copy, according to the help.
> ...
> Meaning it should have reflected the revisions in the repository
> (which in this case should have been 12). I think svn probably also
> appends the revision of the current directory. When you do a commit
> of a file, the revision of the directory remains the same (mixed
> revisions and such). So in the above case, since TARGET is not
> given, I believe, svn uses <URL>@11, because the working directory
> is at rev 11.

Is it really at r11 when a commit of r12 has just been made in it?

> Not sure whether defaulting TARGET to URL@REV is intentional, but
> it could be a bug. [I am copying this email to dev@]
> Also, to comment on Blair's point, I think even if we are to
> consider mixed revisions, it is an issue. If you made the commit
> from your working copy, you expect that your working copy will
> reflect that commit that you made

Yes, that was also my expectation. This isn't a mixed-rev w.c., so
what I saw was at least counter-intuitive, if not actually incorrect.

Mark may be on to something by pointing the finger at SVNKit (which I
think is what my Subclipse is using).


> (and I think that is the whole point of mixed revisions).
> Regards,
> -Hari Kodungallur

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 6 22:38:27 2007

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.