PDA

View Full Version : svn update issues?


peter_mcc
07-24-2008, 07:19 AM
At the bottom of each Cerb4 page it says:
Cerberus Helpdesk™ © 2002-2008, WebGroup Media™ LLC - Version 4.0 RC1 (Build 623)

If I run svn update it says
--
Fetching external item into 'libs/devblocks'
External at revision 237.

At revision 666.
---

At one point I did a svn update -r 623 to see if an older version fixed a problem I had. I've since done svn update head to get back to the head.

Have I stuffed things up?? What version number is meant to show at the bottom of each page?

peter

Hildy
07-24-2008, 06:48 PM
666 is the latest checked in rev, but that was only into the dev trunk. The latest stable is 658 (though the update will likely still say that you're on 666, it's just that 666 doesn't include any changes to the stable branch).

I'll repeat the questions here for posterity: What do you get from a `svn info`, a `svn status`, and a `svn diff`?

peter_mcc
07-25-2008, 01:29 AM
svn info
Path: .
URL: http://svn.webgroupmedia.com/cerb4/tags/stable
Repository UUID: 58cff151-b722-0410-b014-f78a459f8f02
Revision: 666
Node Kind: directory
Schedule: normal
Last Changed Author: jstanden
Last Changed Rev: 624
Last Changed Date: 2008-06-11 16:04:35 +1000 (Wed, 11 Jun 2008)
Properties Last Updated: 2008-06-11 15:46:34 +1000 (Wed, 11 Jun 2008)

svn status
? .group.txt
? servercheck.php
? dbtest.php
M framework.config.php
? libs/devblocks.OLD
X libs/devblocks


svn diff
Index: framework.config.php
================================================== =================
--- framework.config.php (revision 666)
+++ framework.config.php (working copy)
@@ -1,9 +1,9 @@
<?php
-define('APP_DB_DRIVER','');
-define('APP_DB_HOST','');
-define('APP_DB_DATABASE','');
-define('APP_DB_USER','');
-define('APP_DB_PASS','');
+define('APP_DB_DRIVER','mysql');
+define('APP_DB_HOST','localhost');
+define('APP_DB_DATABASE','cerb4');
+define('APP_DB_USER','xxxxx');
+define('APP_DB_PASS','xxxxx);

//define('DEVBLOCKS_LANGUAGE','en');
//define('DEVBLOCKS_DEBUG',true);

Hildy
07-25-2008, 03:30 AM
Revision: 666
Last Changed Rev: 624

There's definitely something funky about that. :-)

You could try `svn update -r head` or just `svn update` or even `svn update -r 666`. Regardless, the latest stable is 658 or so, so that 624 number is un poquito loco.

peter_mcc
07-25-2008, 03:43 AM
Oh dear... looks like something is stuffed!

[hd]# svn update -r head

Fetching external item into 'libs/devblocks'
External at revision 237.

At revision 666.
[hd]# svn info
Path: .
URL: http://svn.webgroupmedia.com/cerb4/tags/stable
Repository UUID: 58cff151-b722-0410-b014-f78a459f8f02
Revision: 666
Node Kind: directory
Schedule: normal
Last Changed Author: jstanden
Last Changed Rev: 624
Last Changed Date: 2008-06-11 16:04:35 +1000 (Wed, 11 Jun 2008)
Properties Last Updated: 2008-06-11 15:46:34 +1000 (Wed, 11 Jun 2008)

[hd]# svn update -r 666

Fetching external item into 'libs/devblocks'
External at revision 237.

At revision 666.
[hd]# svn info
Path: .
URL: http://svn.webgroupmedia.com/cerb4/tags/stable
Repository UUID: 58cff151-b722-0410-b014-f78a459f8f02
Revision: 666
Node Kind: directory
Schedule: normal
Last Changed Author: jstanden
Last Changed Rev: 624
Last Changed Date: 2008-06-11 16:04:35 +1000 (Wed, 11 Jun 2008)
Properties Last Updated: 2008-06-11 15:46:34 +1000 (Wed, 11 Jun 2008)

[hd]# svn update

Fetching external item into 'libs/devblocks'
External at revision 237.

At revision 666.
[hd]# svn info
Path: .
URL: http://svn.webgroupmedia.com/cerb4/tags/stable
Repository UUID: 58cff151-b722-0410-b014-f78a459f8f02
Revision: 666
Node Kind: directory
Schedule: normal
Last Changed Author: jstanden
Last Changed Rev: 624
Last Changed Date: 2008-06-11 16:04:35 +1000 (Wed, 11 Jun 2008)
Properties Last Updated: 2008-06-11 15:46:34 +1000 (Wed, 11 Jun 2008)

I'm really sorry if I've messed this up.

Can I delete all the directories (except storage), do an svn update and start again?
I guess I'd also need to keep framework.config.php in the top directory. And any files I've intentionally modified.

peter

Hildy
07-25-2008, 07:44 PM
Sure, you could start with a clean slate.... I have no idea why SVN isn't properly updating for you.

peter_mcc
08-12-2008, 07:07 AM
I've finally had a chance to reinstall Cerb4 - it now reports (Build 687)
peter