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

Re: No sync after commit for "svn info"

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-12-06 22:08:28 CET

On 12/6/06, Dang Nguyen <dang@docusign.com> wrote:
>
>
> I've noticed that when I commit my changes to our Subversion server and
> immediately do a "svn info" in the working copy, I do not get the latest
> information. The info reported is from the previous update.

Not if you ask it the right questions:

http://svnbook.red-bean.com/nightly/en/svn.basic.in-action.html#svn.basic.in-action.mixedrevs.update-commit

> To get the latest, I have to manually do "svn update".

Yup. That's addressed in the link above.

> Sometimes, this may get me code
> that I didn't mean to grab (just yet). It would be nice if svn info would
> be sync'ed when I do the commit, because I may commit and come back to the
> working copy later.

It synced alright, but the question you asked your working copy
doesn't show it to you. Try running 'svnversion .' and see that your
working copy spans a number of revisions.

> The svn info tells me what revision I'm working in;
> especially when I have to manage multiple working copies on any single
> workstation. This sounds like a bug to me, but I wanted to defer to the
> mailing list.
>
> I've noticed this with the command line svn client in Windows and on Macs,
> as well as TortoiseSVN

That's because they all use the same libraries and philosophy.

> -- granted the issue could also be in the clients and
> not the server action.

HTH,

Erik

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 6 22:09:20 2006

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