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

Re: [WIP PATCH 1/7] Add skeleton RA svnclient

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jun 25, 2010, 14:45 UTC
Message-ID
<20100625144544.GA7710@burratino>
In-Reply-To
<AANLkTimirObq-HBrB4rQdAprN8mfd92rfFKSegJKwMsc@mail.gmail.com>
Hi Ram,
Ramkumar Ramachandra wrote:
> I also highly recommend reading the API documentation and
> going through the code for answers to "why is it like THIS" questions
> as I haven't manged to clean out the Subversion style yet.

If this code is ultimately destined for the svnsync tree (as it seems it is), it might be possible to save time by just sticking to the svn style. I think this would be a typical place where we relax the git style guidelines a bit.

On the other hand, during development, if you want to use some other style (or if you want to write in Smalltalk for that matter), that’s fine by me. I don’t want to dictate your development style. I am only mentioning style now because I suspect it would be easier to review code that follows a single convention (which could be Subversion’s, or Git’s, or some well defined hybrid, or something else entirely, or ...).

>> SVN_ERR does not print anything.  It may return(), though.
Ah, so it is an exception handling mechanism.
Show 5 quoted lines
> These svn_cmdline functions are actually shortcuts- they do all the
> initializations required for a "typical" command line SVN client. It
> saves me the trouble of having to figure out what I missed
> initializing: I'll be using more of them in future; to eliminate the
> auth baton creation by hand, for example.
Thanks again for the explanations.
Jonathan
Previous: Jonathan NiederNext: Jonathan Nieder
Message 8 of 18 in “[GSoC update] git-remote-svn: Week 8”
  1. Ramkumar RamachandraJun 23, 2010
  2. 1/7 Add skeleton RA svnclientRamkumar Ramachandra, Jun 23, 2010
  3. Jonathan NiederJun 25, 2010
  4. Daniel ShahafJun 25, 2010
  5. Ramkumar RamachandraJun 25, 2010
  6. Daniel ShahafJun 25, 2010
  7. OT: typesafe callbacks in C (Re: [WIP PATCH 1/7] Add skeleton RA svnclient)Jonathan Nieder, Jun 25, 2010
  8. Jonathan NiederJun 25, 2010
  9. Jonathan NiederJun 25, 2010
  10. 2/7 Add stripped dump editorRamkumar Ramachandra, Jun 23, 2010
  11. 3/7 Import dump_node to dump what changed and cleanup whitespaceRamkumar Ramachandra, Jun 23, 2010
  12. Ramkumar RamachandraJun 23, 2010
  13. 4/7 Replace deprecated svn_path_joinRamkumar Ramachandra, Jun 23, 2010
  14. 5/7 Trigger dump_node in change_dir_propRamkumar Ramachandra, Jun 23, 2010
  15. 6/7 Add file_baton and trigger dump_node in change_file_propRamkumar Ramachandra, Jun 23, 2010
  16. 7/7 Dump the text deltaRamkumar Ramachandra, Jun 23, 2010
  17. Ramkumar RamachandraJun 23, 2010
  18. Jonathan NiederJun 25, 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.