You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Brian W. Fitzpatrick" <fi...@collab.net> on 2005/05/10 15:47:37 UTC

Switch test failure running 1.1.4 client against 1.2.0 server

Steps to reproduce:

- build a static 1.1.4 client
- build and install 1.2.0rc3
- start the 1.2 svnserve, pointing it at the 1.1.4 test directory
  (/home/fitz/svn-work/1.2-subversion/subversion/svnserve/svnserve -d -
r /home/fitz/svn-work/1.1.4-subversion/subversion/tests/clients/cmdline)
- from the 1.1.4 working copy, run switch_tests.py 12, using
svn://localhost as the URL.

I'm going to investigate further, but if anyone else can take a look at
this, I'd really appreciate it.

-Fitz

Here's the output from my test.

$ ./switch_tests.py  -v --url=svn://localhost 12
CMD: svnadmin "create" "local_tmp/repos" "--bdb-txn-nosync" "--fs-
type=bdb" <TIME = 0.311838>
CMD: svn "import" "--username" "jrandom" "--password" "rayjandom" "-m"
"Log message for revision 1." "local_tmp/greekfiles"
"svn://localhost/local_tmp/repos" "--config-dir" "/home/fitz/svn-
work/1.1.4-subversion/subversion/tests/clients/cmdline/local_tmp/config"
<TIME = 0.237244>
CMD: svnadmin "create" "repositories/switch_tests-12" "--bdb-txn-nosync"
"--fs-type=bdb" <TIME = 0.372587>
CMD: svnadmin dump "local_tmp/repos" | svnadmin load
"repositories/switch_tests-12" <TIME = 0.012668>
CMD: svn "co" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/repositories/switch_tests-12"
"working_copies/switch_tests-12" "--config-dir" "/home/fitz/svn-
work/1.1.4-subversion/subversion/tests/clients/cmdline/local_tmp/config"
<TIME = 0.682925>
CMD: svn "mkdir" "-m" "log msg"
"svn://localhost/repositories/switch_tests-12/A/D/G/psi" "--config-dir"
"/home/fitz/svn-work/1.1.4-
subversion/subversion/tests/clients/cmdline/local_tmp/config" <TIME =
0.170403>
CMD: svn "switch" "--username" "jrandom" "--password" "rayjandom"
"svn://localhost/repositories/switch_tests-12/A/D/G"
"working_copies/switch_tests-12/A/D/H" "--config-dir" "/home/fitz/svn-
work/1.1.4-subversion/subversion/tests/clients/cmdline/local_tmp/config"
<TIME = 0.738074>
CMD: svn "status" "-v" "-u" "-q" "working_copies/switch_tests-12" "--
config-dir" "/home/fitz/svn-work/1.1.4-
subversion/subversion/tests/clients/cmdline/local_tmp/config" <TIME =
0.183785>
Got singleton from expected tree: chi
 * Node name:   chi
    Path:       working_copies/switch_tests-12/A/D/H/chi
    Contents:   None
    Properties: {}
    Attributes: {'status': '  ', 'repos_rev': '2', 'wc_rev': '1',
'switched': 'S'}
    Children: is a file.
Unequal at node H
Unequal at node D
Unequal at node A
Unequal at node switch_tests-12
Unequal at node working_copies
EXPECTED OUTPUT TREE:
ROOT
  +-- working_copies
        +-- switch_tests-12
              |-- A
              |     |-- B
              |     |     |-- E
              |     |     |     |-- beta
              |     |     |     +-- alpha
              |     |     |-- F
              |     |     +-- lambda
              |     |-- D
              |     |     |-- G
              |     |     |     |-- rho
              |     |     |     |-- pi
              |     |     |     +-- tau
              |     |     |-- H
              |     |     |     |-- pi
              |     |     |     |-- chi
              |     |     |     |-- rho
              |     |     |     |-- tau
              |     |     |     +-- omega
              |     |     +-- gamma
              |     |-- C
              |     +-- mu
              +-- iota
ACTUAL OUTPUT TREE:
ROOT
  +-- working_copies
        +-- switch_tests-12
              |-- A
              |     |-- D
              |     |     |-- H
              |     |     |     |-- rho
              |     |     |     |-- pi
              |     |     |     +-- tau
              |     |     |-- G
              |     |     |     |-- pi
              |     |     |     |-- rho
              |     |     |     +-- tau
              |     |     +-- gamma
              |     |-- B
              |     |     |-- lambda
              |     |     |-- E
              |     |     |     |-- alpha
              |     |     |     +-- beta
              |     |     +-- F
              |     |-- mu
              |     +-- C
              +-- iota
EXCEPTION: SVNTreeUnequal
FAIL:  switch_tests.py 12: anchor=target that fails due to local mods



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

Re: Switch test failure running 1.1.4 client against 1.2.0 server

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Tue, 10 May 2005, Brian W. Fitzpatrick wrote:

> Steps to reproduce:
>
> - build a static 1.1.4 client
> - build and install 1.2.0rc3
> - start the 1.2 svnserve, pointing it at the 1.1.4 test directory
>   (/home/fitz/svn-work/1.2-subversion/subversion/svnserve/svnserve -d -
> r /home/fitz/svn-work/1.1.4-subversion/subversion/tests/clients/cmdline)
> - from the 1.1.4 working copy, run switch_tests.py 12, using
> svn://localhost as the URL.
>
> I'm going to investigate further, but if anyone else can take a look at
> this, I'd really appreciate it.
>
Hmmm... Might r12616 have something to do with this?

Regards,
//Peter

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