Chiba Sources
==============
Have suffered many problems with chiba sources moving around.
::
simon:tomcat blyth$ cd `chibacvs-dir`
simon:chibacvs blyth$ ll
total 0
drwxr-xr-x 6 blyth admin 204 19 May 2009 trunk
drwxr-xr-x 2 blyth admin 68 19 May 2009 deploy
drwxr-xr-x 4 blyth admin 136 19 May 2009 .
drwxr-xr-x 19 blyth admin 646 28 Jun 2012 ..
simon:chibacvs blyth$ cd trunk/
simon:trunk blyth$ svn st
svn: E155036: Please see the 'svn upgrade' command
svn: E155036: Working copy '/data/heprez/install/chibacvs/trunk' is too old (format 8, created by Subversion 1.4)
simon:trunk blyth$
simon:trunk blyth$
simon:trunk blyth$ which svn
/opt/local/bin/svn
simon:trunk blyth$ /usr/bin/svn st
? chiba-web/dist
? chiba-web/doc
? chiba-web/lib/core
M chiba-web/src/org/chiba/adapter/servlet/ChibaServlet.java
M chiba-web/etc/log4j.xml
M chiba-web/web/forms/styles/xforms.css
A chiba-web/web/forms/orderlist2.xhtml
A chiba-web/web/forms/xslt/html-form-controls-dist-scb-modified.xsl
M chiba-web/web/forms/xslt/html-form-controls.xsl
A chiba-web/web/forms/xslt/identity.xsl
? chiba-sandbox/chiba-1.2.0
M chiba-sandbox/src/org/chiba/tools/schemabuilder/AbstractSchemaFormBuilder.java
simon:trunk blyth$
::
2013/03
svn: Repository moved permanently to 'https://www.chiba-project.org/existsvn/chiba/trunk'; please relocate
but that gives too many redirects
Create tarball from the SVN checkout
--------------------------------------
Revert to clean revision
~~~~~~~~~~~~~~~~~~~~~~~~~
Operate on copy of trunk for safety
::
simon:chibacvs blyth$ cd trunkcopy/
simon:trunkcopy blyth$ ll
total 0
drwxr-xr-x 9 blyth admin 306 20 Mar 17:57 .svn
drwxr-xr-x 5 blyth admin 170 20 Mar 17:57 ..
drwxr-xr-x 13 blyth admin 442 20 Mar 17:57 chiba-sandbox
drwxr-xr-x 18 blyth admin 612 20 Mar 17:57 chiba-web
drwxr-xr-x 6 blyth admin 204 20 Mar 17:57 .
drwxr-xr-x 15 blyth admin 510 20 Mar 17:57 convex
simon:trunkcopy blyth$ /usr/bin/svn st
? chiba-web/dist
? chiba-web/doc
? chiba-web/lib/core
M chiba-web/src/org/chiba/adapter/servlet/ChibaServlet.java
M chiba-web/etc/log4j.xml
M chiba-web/web/forms/styles/xforms.css
A chiba-web/web/forms/orderlist2.xhtml
A chiba-web/web/forms/xslt/html-form-controls-dist-scb-modified.xsl
M chiba-web/web/forms/xslt/html-form-controls.xsl
A chiba-web/web/forms/xslt/identity.xsl
? chiba-sandbox/chiba-1.2.0
M chiba-sandbox/src/org/chiba/tools/schemabuilder/AbstractSchemaFormBuilder.java
simon:trunkcopy blyth$
simon:trunkcopy blyth$ /usr/bin/svn revert chiba-web/src/org/chiba/adapter/servlet/ChibaServlet.java chiba-web/etc/log4j.xml chiba-web/web/forms/styles/xforms.css chiba-web/web/forms/orderlist2.xhtml chiba-web/web/forms/xslt/html-form-controls-dist-scb-modified.xsl chiba-web/web/forms/xslt/html-form-controls.xsl chiba-web/web/forms/xslt/identity.xsl chiba-sandbox/src/org/chiba/tools/schemabuilder/AbstractSchemaFormBuilder.java
Reverted 'chiba-web/src/org/chiba/adapter/servlet/ChibaServlet.java'
Reverted 'chiba-web/etc/log4j.xml'
Reverted 'chiba-web/web/forms/styles/xforms.css'
Reverted 'chiba-web/web/forms/orderlist2.xhtml'
Reverted 'chiba-web/web/forms/xslt/html-form-controls-dist-scb-modified.xsl'
Reverted 'chiba-web/web/forms/xslt/html-form-controls.xsl'
Reverted 'chiba-web/web/forms/xslt/identity.xsl'
Reverted 'chiba-sandbox/src/org/chiba/tools/schemabuilder/AbstractSchemaFormBuilder.java'
simon:trunkcopy blyth$ /usr/bin/svn st
? chiba-web/dist
? chiba-web/doc
? chiba-web/lib/core
? chiba-web/web/forms/orderlist2.xhtml
? chiba-web/web/forms/xslt/html-form-controls-dist-scb-modified.xsl
? chiba-web/web/forms/xslt/identity.xsl
? chiba-sandbox/chiba-1.2.0
simon:trunkcopy blyth$
simon:trunkcopy blyth$
simon:trunkcopy blyth$ rm -r chiba-web/dist chiba-web/doc chiba-web/lib/core chiba-web/web/forms/orderlist2.xhtml chiba-web/web/forms/xslt/html-form-controls-dist-scb-modified.xsl chiba-web/web/forms/xslt/identity.xsl chiba-sandbox/chiba-1.2.0
simon:trunkcopy blyth$
simon:trunkcopy blyth$
simon:trunkcopy blyth$ /usr/bin/svn info
Path: .
URL: https://www.chiba-project.org/svn/chiba/trunk
Repository Root: https://www.chiba-project.org/svn/chiba
Repository UUID: 5acfd1e6-bc2c-0410-9d70-e962966ad392
Revision: 2139
Node Kind: directory
Schedule: normal
Last Changed Author: unl
Last Changed Rev: 2139
Last Changed Date: 2006-05-18 01:47:08 +0800 (Thu, 18 May 2006)
simon:trunkcopy blyth$ /usr/bin/svnversion .
2139
export tree
~~~~~~~~~~~~~
::
simon:trunkcopy blyth$ /usr/bin/svn export . ../chiba-project-svn-trunk-2139
Export complete.
create tarball
~~~~~~~~~~~~~~~~
::
simon:chibacvs blyth$ tar zcvf chiba-project-svn-trunk-2139.tar.gz chiba-project-svn-trunk-2139/*
compare
~~~~~~~~~
Differences indicate that the patch is not uptodate::
simon:chibacvs blyth$ diff -r --brief trunkcopy chiba-project-svn-trunk-2139 | grep differ
Files trunkcopy/chiba-sandbox/src/org/chiba/tools/schemabuilder/AbstractSchemaFormBuilder.java and chiba-project-svn-trunk-2139/chiba-sandbox/src/org/chiba/tools/schemabuilder/AbstractSchemaFormBuilder.java differ
Files trunkcopy/chiba-web/etc/log4j.xml and chiba-project-svn-trunk-2139/chiba-web/etc/log4j.xml differ
Files trunkcopy/chiba-web/src/org/chiba/adapter/servlet/ChibaServlet.java and chiba-project-svn-trunk-2139/chiba-web/src/org/chiba/adapter/servlet/ChibaServlet.java differ
Files trunkcopy/chiba-web/web/forms/styles/xforms.css and chiba-project-svn-trunk-2139/chiba-web/web/forms/styles/xforms.css differ
Files trunkcopy/chiba-web/web/forms/xslt/html-form-controls.xsl and chiba-project-svn-trunk-2139/chiba-web/web/forms/xslt/html-form-controls.xsl differ
simon:chibacvs blyth$
simon:chibacvs blyth$
simon:chibacvs blyth$
simon:chibacvs blyth$ diff trunkcopy/chiba-web/web/forms/xslt/html-form-controls.xsl chiba-project-svn-trunk-2139/chiba-web/web/forms/xslt/html-form-controls.xsl
19a20
>
34a36,39
>
>
>
>
113a119,121
>
>
>
123a132,139
>
>
>
>
>
>
>
>
665a682,685
>
>
>
>
676,677c696,697
< 5
< 30
---
>
>
simon:chibacvs blyth$
simon:chibacvs blyth$