[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: make check failing on log_tests.py

From: <cmpilato_at_collab.net>
Date: 2001-12-17 16:05:45 CET

This is the second hint I've gotten that something is wrong with the
svn_fs_node_created_rev function. The created revision as 25 looks
very suspicious, given that you were looking at transaction 25. I
mean, I'm assuming that your tree is only a couple of revisions
old...so there's no way you could have a node in it that was created
in revision 25. Bogosity.

I'll be writing a C-test for svn_fs_node_created_rev() today
... hopefully it will illuminate the problem.

Philip Martin <philip@codematters.co.uk> writes:

> It's failing in open_file() in commit_editor.c line 488. It's
> comparing base_revision against cr_rev:
>
> SVN_ERR (svn_fs_node_created_rev (&cr_rev, eb->txn_root,
> path->data, new_fb->subpool));
>
> /* If the node our caller has has an older revision number than the
> one in our transaction, return an out-of-dateness error. */
> if (base_revision < cr_rev)
> return out_of_date (path->data, eb->txn_name, subpool);
>
> gdb shows that base_revision=3 and cr_rev=25. Now 3 is the head
> revision in the repository and the current revision in the working
> copy, and 25 is the txn as shown by svnadmin:
>
> Txn 25:
> Created: Sun 16 Dec 2001 23:21:16.158898 (day 350, dst 0, gmt_off 000000)
> Author: pm
> Log (0 bytes):
>
> ==========================================
> A/ <1.3>
> mu <19.1> [22]
> B/ <2.2>
> lambda <7.1> [26]
> E/ <3.2>
> alpha <5.2> [26]
> beta <4.1> [24]
> F/ <6.1>
> C/ <8.2>
> epsilon D/ <9.2>
> gamma <18.1> [25]
> G/ <10.2>
> rho <12.2> [24]
> pi <11.2> [23]
> tau <13.1> [23]
> H/ <14.2>
> chi <15.1> [23]
> omega <17.2> [26]
> psi <16.1> [23]
> iota <20.2> [25]
>
> The name parameter to open_file() is "iota" which also has 25 in the
> txn, but I don't really know what these numbers all mean.
>
> Anyone know what's going on?
>
> --
> Philip
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:53 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.