Opened 16 years ago

Closed 16 years ago

#167 closed task (fixed)

What are the condition on wc and repository?

Reported by: Peter Johansson Owned by: Jari Häkkinen
Priority: major Milestone: 0.6
Component: core Version: trunk
Keywords: Cc:

Description (last modified by Jari Häkkinen)

When starting a run wc and repo must be in synch. If that is not fulfilled, an error msg is blurped. But what happens if something changes during the run? Someone could change the working copy or worse what if someone commit something to the repo. The latter is the interesting case because it is out of control of the user of svndigest. Does svndigest

  1. Finish the work and different files may have output from different revs.
  2. Some out of the range problem occur and depending what the memory picture svndigest crash or not.
  3. Exit with an understandable error message.
  4. Finish the work and committed revs after the start of run are ignored.

When in --enable-debug is set the run may be caught by an assertion. If 4) is not already the case it should probably be implemented by getting the HEAD rev number ar tart, save it, and use it when needed e.g. in SVNlog class. Note, if this is an issue , the severity grows when runtime grows.

Change History (4)

comment:1 Changed 16 years ago by Jari Häkkinen

Description: modified (diff)

For this we need a large enough repository to test on. BASE has a large repository but we do not want to make phony commits. We chould synchronize tests with some of the BASE developers regular commits.

comment:2 Changed 16 years ago by Peter Johansson

How long time is a run on BASE project? If it is not long enough an easy way to slow it down is to slow down the repository access. I can do that from here on my slow line connection. Ho wlong is the parsing phase when running on lev?

comment:3 Changed 16 years ago by Jari Häkkinen

Status: newassigned

comment:4 Changed 16 years ago by Jari Häkkinen

Resolution: fixed
Status: assignedclosed

(In [318]) Fixes #167 and addresses #74. Interfaces have changed. SVN::instance usage has changed, read SVN class documentation.

Note: See TracTickets for help on using tickets.