You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Marcus Müller <zn...@mulle-kybernetik.com> on 2004/10/16 22:18:19 UTC

'svn info' showing incorrect revision after successful commit

Hi,

I guess I've spotted a bug in 'svn info'. When issuing 'svn info' after 
a sucessful commit, the "Revision" and the "Last Changed Rev" reported 
are not updated. I'm not sure whether this accounts for "Last Changed 
Author" as well.

I'm using svn, version 1.1.0 (r11180) on Mac OS X. I came here because 
I haven't found a similar issue in the issue tracker and the text at 
http://subversion.tigris.org/project_issues.html told me to bug you 
here. ;-)

In case you need more info please reply directly to me as I'm not 
following this list.

Cheers,

   Marcus

-- 
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 'svn info' showing incorrect revision after successful commit

Posted by Erik Huelsmann <eh...@gmail.com>.
> > Marcus Müller <zn...@mulle-kybernetik.com> writes:
> >> I guess I've spotted a bug in 'svn info'. When issuing 'svn info'
> >> after a sucessful commit, the "Revision" and the "Last Changed Rev"
> >> reported are not updated. I'm not sure whether this accounts for
> >> "Last Changed Author" as well.
> >>
> 
> I've the same problem with svn 1.0.x and 1.1.x!
> 
> How to get this:
> 
> 1.
> >svn info
> 
> Path: .
> URL: http://host/svn/project
> Repository UUID: a4d5d1c6-08df-0310-9cbf-d883a2b6f55c
> Revision: 7
> Node Kind: directory
> Schedule: normal
> Last Changed Author: mtutak
> Last Changed Rev: 7
> Last Changed Date: 2004-09-25 01:26:39 +0200 (Sat, 25 Sep 2004)
> Properties Last Updated: 2004-09-25 12:03:44 +0200 (Sat, 25 Sep 2004)
> 
> (incorrect, should be Rev 8)
> 
> 2.
> >svn ci -m "Description"
> Committed revision 9.
> 
> 3.
> >svn info
> 
> (gets the same incorrect info as in step 1!!!)
> 
> 4.
> >svn update
> At revision 9.
> 
> (ofcourse no files were changed)
> 
> 5.
> >svn info
> 
> (now svn gets correct info!!!)

This is not a bug. It may be unexpected, but it's not a bug. Read
about 'Limitations of mixed revisions':
http://svnbook.red-bean.com/svnbook-1.0/ch02s03.html#svn-ch-2-sect-3.4

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: 'svn info' showing incorrect revision after successful commit

Posted by Mikolaj Tutak <mt...@nixz.net>.
kfogel@collab.net wrote:
> Marcus Müller <zn...@mulle-kybernetik.com> writes:
>> I guess I've spotted a bug in 'svn info'. When issuing 'svn info'
>> after a sucessful commit, the "Revision" and the "Last Changed Rev"
>> reported are not updated. I'm not sure whether this accounts for
>> "Last Changed Author" as well.
>>

I've the same problem with svn 1.0.x and 1.1.x!

How to get this:

1.
>svn info

Path: .
URL: http://host/svn/project
Repository UUID: a4d5d1c6-08df-0310-9cbf-d883a2b6f55c
Revision: 7
Node Kind: directory
Schedule: normal
Last Changed Author: mtutak
Last Changed Rev: 7
Last Changed Date: 2004-09-25 01:26:39 +0200 (Sat, 25 Sep 2004)
Properties Last Updated: 2004-09-25 12:03:44 +0200 (Sat, 25 Sep 2004)

(incorrect, should be Rev 8)

2.
>svn ci -m "Description"
Committed revision 9.

3.
>svn info

(gets the same incorrect info as in step 1!!!)

4.
>svn update
At revision 9.

(ofcourse no files were changed)

5.
>svn info

(now svn gets correct info!!!)

******************
Server OS: Debian Linux (Sarge)/Windows
Client OS: Windows (I didn't check Linux)
Protocol: HTTP
Version: 1.0.x, 1.1.0 (from binaries)
BDB from binary packages

-- 
      Mikolaj


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: 'svn info' showing incorrect revision after successful commit

Posted by kf...@collab.net.
Marcus Müller <zn...@mulle-kybernetik.com> writes:
> I guess I've spotted a bug in 'svn info'. When issuing 'svn info'
> after a sucessful commit, the "Revision" and the "Last Changed Rev"
> reported are not updated. I'm not sure whether this accounts for "Last
> Changed Author" as well.
> 
> I'm using svn, version 1.1.0 (r11180) on Mac OS X. I came here because
> I haven't found a similar issue in the issue tracker and the text at
> http://subversion.tigris.org/project_issues.html told me to bug you
> here. ;-)
> 
> In case you need more info please reply directly to me as I'm not
> following this list.

Please post a transcript of what you did, the output, & what you
expected to see versus what you actually saw.  See
http://svn.collab.net/repos/svn/trunk/BUGS for guidelines on writing a
bug report.  The paragraph I'm thinking of is:

   When you write up the reproduction recipe, don't just write a prose
   description of what you did to make the bug happen.  Instead, give
   a literal transcript of the exact series of commands you ran, and
   their output.  If there are files involved, be sure to include the
   names of the files, and even their content if you think it might be
   relevant.  The very best thing is to package your reproduction
   recipe as a script, that helps us a lot.

I've switched this thread to the users@ list, until we've confirmed
there's a bug.

Thanks,
-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: 'svn info' showing incorrect revision after successful commit

Posted by Marcus Müller <zn...@mulle-kybernetik.com>.
On 17.10.2004, at 17:06, Greg Hudson wrote:
> with only the changed entries updated to the new version.  You have to
> run "svn update" after the commit to get a uniform working copy.  For
> details, see:
>
> http://subversion.tigris.org/project_faq.html#wc-out-of-date

Oops, my bad then. Thanks for pointing this out.

Cheers,

   Marcus

-- 
Marcus Mueller  .  .  .  crack-admin/coder ;-)
Mulle kybernetiK  .  http://www.mulle-kybernetik.com
Current projects: finger znek@mulle-kybernetik.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 'svn info' showing incorrect revision after successful commit

Posted by Greg Hudson <gh...@MIT.EDU>.
On Sat, 2004-10-16 at 18:18, Marcus Müller wrote:
> Hi,
> 
> I guess I've spotted a bug in 'svn info'. When issuing 'svn info' after 
> a sucessful commit, the "Revision" and the "Last Changed Rev" reported 
> are not updated.

In Subversion, the result of a commit is a mixed-revision working copy
with only the changed entries updated to the new version.  You have to
run "svn update" after the commit to get a uniform working copy.  For
details, see:

http://subversion.tigris.org/project_faq.html#wc-out-of-date


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org