git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2] Add svnrdump

From
Stefan Sperling <stsp@elego.de>
Date
Jul 14, 2010, 15:32 UTC
Message-ID
<20100714153206.GH25630@jack.stsp.name>
In-Reply-To
<20100713201105.GN13310@ted.stsp.name>
On Tue, Jul 13, 2010 at 10:11:05PM +0200, Stefan Sperling wrote:
> Review below.
A couple of additional remarks:

Playing with svnrdump and comparing its output to the output of svnadmin dump --deltas, I noticed that:

 - svnrdump doesn't dump revision 0.
   It should dump revision 0, because that revision can contain important
   revprops such as metadata for svnsync (svn:sync-last-merge-rev etc.)
 - You're missing a couple of fields:
   The UUID of the repository.
   Text-content-sha1
   Text-delta-base-md5
   Text-delta-base-sha1
 - I've seen a "Prop-delta: true" line which svnadmin dump does not print.
 - You're missing some newlines that svnadmin dump prints (cosmetic,
   but it would be nice if both produced matching output).
How to reproduce what I'm seeing:
  Use svnsync to get a copy of the numptyphysics repository at
    https://vcs.maemo.org/svn/numptyphysics (I had a dump of that lying
    around... other repositories might do the job just as well, of course)
  Dump the repository using svnadmin dump --deltas.
  Dump the repository using svnrdump.
  Compare output with diff -u.

Please get rid of all global variables in svnrdump.c: subversion/svnrdump/svnrdump.c:43: warning: declaration of `pool' shadows a glob al declaration subversion/svnrdump/svnrdump.c:33: warning: shadowed declaration is here subversion/svnrdump/svnrdump.c:91: warning: declaration of `pool' shadows a glob al declaration subversion/svnrdump/svnrdump.c:33: warning: shadowed declaration is here

When adding unit tests for svnrdump, please make each and every one of those tests compare with output of svnadmin dump --deltas, so that we will keep them in sync.

Thanks, Stefan

Previous: Stefan SperlingNext: Ramkumar Ramachandra
Message 3 of 19 in “Add svnrdump”
  1. Add svnrdumpRamkumar Ramachandra, Jul 9, 2010
  2. Stefan SperlingJul 13, 2010
  3. Stefan SperlingJul 14, 2010
  4. Ramkumar RamachandraJul 14, 2010
  5. C. Michael PilatoJul 14, 2010
  6. Ramkumar RamachandraJul 15, 2010
  7. Stefan SperlingJul 14, 2010
  8. C. Michael PilatoJul 14, 2010
  9. Stefan SperlingJul 14, 2010
  10. Jonathan NiederJul 14, 2010
  11. C. Michael PilatoJul 14, 2010
  12. Ramkumar RamachandraJul 15, 2010
  13. Bert HuijbenJul 14, 2010
  14. Ramkumar RamachandraJul 15, 2010
  15. Ramkumar RamachandraJul 15, 2010
  16. Stefan SperlingJul 15, 2010
  17. Ramkumar RamachandraJul 21, 2010
  18. Daniel ShahafJul 21, 2010
  19. Ramkumar RamachandraJul 21, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.