You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bo Berglund <bo...@gmail.com> on 2021/12/10 15:12:46 UTC

Compare revisions on different devices, why different?

I have several devices on which I have checked out the same project.
One is connected to a debugging external system and the others are not.
Now I have been working on the debugging system and committed my changes from
that.
Then I have updated the project on the non-debug system expecting to get the
same code on both.
But this is what svn info gets me:

Debug system where I just committed:
------------------------------------
$ svn info
Path: .
Working Copy Root Path: /home/pi/projects/SSRemoteServer
URL: https://mysvnserver/svn/pc/SSRemoteServer/trunk/source
Relative URL: ^/SSRemoteServer/trunk/source
Repository Root: https://mysvnserver/svn/pc
Repository UUID: 1e489663-c639-2248-90da-e976bc628839
Revision: 4470
Node Kind: directory
Schedule: normal
Last Changed Author: bosse
Last Changed Rev: 4470
Last Changed Date: 2021-09-23 02:55:51 -0500 (Thu, 23 Sep 2021)

Code writing system where I just updated:
-----------------------------------------
$ svn info
Path: .
Working Copy Root Path: /home/pi/projects/SSRemoteServer
URL: https://mysvnserver/svn/pc/SSRemoteServer/trunk/source
Relative URL: ^/SSRemoteServer/trunk/source
Repository Root: https://mysvnserver/svn/pc
Repository UUID: 1e489663-c639-2248-90da-e976bc628839
Revision: 4474
Node Kind: directory
Schedule: normal
Last Changed Author: bosse
Last Changed Rev: 4474
Last Changed Date: 2021-12-10 14:13:39 +0100 (Fri, 10 Dec 2021)

I note that these items differ:
-------------------------------
Revision: 4470 vs 4474
Last Changed Rev: 4470 vs 4474
Last Changed Date: 2021-09-23 vs 2021-12-10

Why are they not at the samerevision and date?


-- 
Bo Berglund
Developer in Sweden


Re: Compare revisions on different devices, why different?

Posted by Daniel Sahlberg <da...@gmail.com>.
Den fre 10 dec. 2021 kl 17:02 skrev Stefan Sperling <st...@elego.de>:

> On Fri, Dec 10, 2021 at 04:57:03PM +0100, Bo Berglund wrote:
> > So the update did nothing except fix the revision number and time stamp.
> >
> > Do you need to do an svn up after each svn ci in order to fix the state?
>
> Yes. See here for an explanation:
> https://subversion.apache.org/faq.html#hidden-log


While svn up solves this particular issue, in normal operation it is seldom
required. There are a few operations that doesn't work (or doesn't work
well) on a mixed revision wc, for example merges and setting properties on
the directory itself. But in general it is quite seldom I run svn up unless
I want to fetch new revisions from the server.

Kind regards,
Daniel

Re: Compare revisions on different devices, why different?

Posted by Stefan Sperling <st...@elego.de>.
On Fri, Dec 10, 2021 at 04:57:03PM +0100, Bo Berglund wrote:
> So the update did nothing except fix the revision number and time stamp.
> 
> Do you need to do an svn up after each svn ci in order to fix the state?

Yes. See here for an explanation:
https://subversion.apache.org/faq.html#hidden-log

Re: Compare revisions on different devices, why different?

Posted by Bo Berglund <bo...@gmail.com>.
On Fri, 10 Dec 2021 10:14:24 -0500, Nathan Hartman <ha...@gmail.com>
wrote:

>> Why are they not at the samerevision and date?
>>
>>
>
>On the debug system, immediately after committing,  did you do 'svn update'?
>
>Nathan

No, I assumed that was not needed since the debug system is where I have done
code changes lately.

But this fixed the issue:

$ svn up
Updating '.':
At revision 4474.

$ svn info
Path: .
Working Copy Root Path: /home/pi/projects/SSRemoteServer
...
Revision: 4474
Node Kind: directory
Schedule: normal
Last Changed Author: bosse
Last Changed Rev: 4474
Last Changed Date: 2021-12-10 07:13:39 -0600 (Fri, 10 Dec 2021)

So the update did nothing except fix the revision number and time stamp.

Do you need to do an svn up after each svn ci in order to fix the state?


-- 
Bo Berglund
Developer in Sweden


Re: Compare revisions on different devices, why different?

Posted by Nathan Hartman <ha...@gmail.com>.
On Fri, Dec 10, 2021 at 10:13 AM Bo Berglund <bo...@gmail.com> wrote:
>
> I have several devices on which I have checked out the same project.
> One is connected to a debugging external system and the others are not.
> Now I have been working on the debugging system and committed my changes from
> that.
> Then I have updated the project on the non-debug system expecting to get the
> same code on both.
> But this is what svn info gets me:
>
> Debug system where I just committed:
> ------------------------------------
> $ svn info
> Path: .
> Working Copy Root Path: /home/pi/projects/SSRemoteServer
> URL: https://mysvnserver/svn/pc/SSRemoteServer/trunk/source
> Relative URL: ^/SSRemoteServer/trunk/source
> Repository Root: https://mysvnserver/svn/pc
> Repository UUID: 1e489663-c639-2248-90da-e976bc628839
> Revision: 4470
> Node Kind: directory
> Schedule: normal
> Last Changed Author: bosse
> Last Changed Rev: 4470
> Last Changed Date: 2021-09-23 02:55:51 -0500 (Thu, 23 Sep 2021)
>
> Code writing system where I just updated:
> -----------------------------------------
> $ svn info
> Path: .
> Working Copy Root Path: /home/pi/projects/SSRemoteServer
> URL: https://mysvnserver/svn/pc/SSRemoteServer/trunk/source
> Relative URL: ^/SSRemoteServer/trunk/source
> Repository Root: https://mysvnserver/svn/pc
> Repository UUID: 1e489663-c639-2248-90da-e976bc628839
> Revision: 4474
> Node Kind: directory
> Schedule: normal
> Last Changed Author: bosse
> Last Changed Rev: 4474
> Last Changed Date: 2021-12-10 14:13:39 +0100 (Fri, 10 Dec 2021)
>
> I note that these items differ:
> -------------------------------
> Revision: 4470 vs 4474
> Last Changed Rev: 4470 vs 4474
> Last Changed Date: 2021-09-23 vs 2021-12-10
>
> Why are they not at the samerevision and date?
>
>
> --
> Bo Berglund
> Developer in Sweden
>


On the debug system, immediately after committing,  did you do 'svn update'?

Nathan