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

Re: [PATCH] Don't checkout the full tree if avoidable

From
Steven Walter <stevenrwalter@gmail.com>
Date
Oct 1, 2007, 13:12 UTC
Message-ID
<20071001131227.GA24494@dervierte>
In-Reply-To
<20071001110855.GB10079@muzzle>
On Mon, Oct 01, 2007 at 04:08:55AM -0700, Eric Wong wrote:
Show 11 quoted lines
> Steven Walter wrote:
> > One criticism of the patch: the trees_match function probably needs to
> > be re-written.  My SVN::Perl-foo is weak.
> 
> Yep :)
> 
> Steven:
> 
> How does the following work for you?  Which version of SVN do you have,
> by the way?  I just found a bug with the way SVN::Client::diff() is
> exported for SVN 1.1.4, hence the SVN::Pool->new_default_sub usage.

swalter@sentra:~% svn --version svn, version 1.3.2 (r19776)

This version works great; seems to have exactly the same behavior as my patch. Verified that it still falls back to the do_update code when trees_match fails.

-- 
-Steven Walter <stevenrwalter@gmail.com>
"A human being should be able to change a diaper, plan an invasion,
butcher a hog, conn a ship, design a building, write a sonnet, balance
accounts, build a wall, set a bone, comfort the dying, take orders,
give orders, cooperate, act alone, solve equations, analyze a new
problem, pitch manure, program a computer, cook a tasty meal, fight
efficiently, die gallantly. Specialization is for insects."
   -Robert Heinlein
Previous: Eric WongNext: Eric Wong
Message 4 of 5 in “Don't checkout the full tree if avoidable”
  1. Don't checkout the full tree if avoidableSteven Walter, Sep 28, 2007
  2. Junio C HamanoOct 1, 2007
  3. Eric WongOct 1, 2007
  4. Steven WalterOct 1, 2007
  5. Eric WongOct 3, 2007

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.