[TYPO3-core] OT: Strange(?) SVN behaviour

Peter Niederlag peter at niederlag.de
Tue Jul 11 00:18:03 CEST 2006


Hi,

Michael Stucki schrieb:
> Hi Peter,
> 
>>> Fine, so we are using revision 1606, right? So let's make an update:
>> afaik this ^^ only means the main directory is on this revision 1606.
>> since info is not recursive(!) subdirectories might be on a different
>> revision?
> 
> Well, I'm quite sure you are wrong here.

No, if it's wrong then svn docs are wrong. ;)

> In SVN, a revision reflects the state 
> of _all_ files and directories combined together. One change in a single file 
> causes a new revision number for the whole project.

correct. But if you do

----------------------------------------
pn at oregon:/usr/local/typo3_src_branch_4_0$ svn up
typo3/sysext/cms/tslib/class.tslib_content.php
U    typo3/sysext/cms/tslib/class.tslib_content.php
Aktualisiert zu Revision 1618.
-----------------------------------------

how should the parent directory know that you updated a child? (svn info
is not recursive)

-----------------------------------
pn at oregon:/usr/local/typo3_src_branch_4_0$ svn info
Pfad: .
URL: https://svn.sourceforge.net/svnroot/typo3/TYPO3core/branches/TYPO3_4-0
UUID des Projektarchivs: 709f56b5-9817-0410-a4d7-c38de5d9e867
Revision: 1615
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: liels_bugs
Letzte geänderte Rev: 1614
-----------------------------------

It's still on 1615

[...]
> The only thing that seems necessary to know is that right after a commit, you 
> should update from the server to get the .svn directories in synch again.

that seem like a good a habit and know we even know why. ;)

>> BTW: why don't u use 'svn status --remote-updates', I find this far more
>> important and never used info yet.
> 
> Because I didn't find this in my docs:
> 
> | mstucki at nb02:~/src/svn/typo3/typo3_4-0$ svn status --remote-updates
> | svn: invalid option: --remote-updates 
> | Type 'svn help' for usage. 
> 
> Obviously my version (1.2.3) is outdated. I'll try updating...

eehmm, sry '--show-updates'

Greets,
Peter
-- 
Peter Niederlag * Neuer Sandberg 9 * 31535 Neustadt *
Fon (privat): 05036 / 924 100 * Fon (Büro): 05036 / 924 101
Fon (mobil): 0172 / 516 48 55 * Fax 05036 / 924 105
callto:typo3support (skype)
http://www.niekom.de * TYPO3 und EDV Dienstleistungen *
http://www.clown-goli.de * Clown-Comedy-Jonglage-Animation *



More information about the TYPO3-team-core mailing list