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

Re: [PATCH 3/3 v2] git-svn log: handle unreachable revisions like "svn log"

From
EWEric Wong <normalperson@yhbt.net>
Date
Nov 17, 2007, 21:47 UTC
Message-ID
<20071117214738.GB22835@soma>
In-Reply-To
<1194850612-6907-1-git-send-email-ddkilzer@kilzer.net>
David D Kilzer <ddkilzer@kilzer.net> wrote:
Show 21 quoted lines
> When unreachable revisions are given to "svn log", it displays all commit
> logs in the given range that exist in the current tree.  (If no commit
> logs are found in the current tree, it simply prints a single commit log
> separator.)  This patch makes "git-svn log" behave the same way.
> 
> Ten tests added to t/t9116-git-svn-log.sh.
> 
> Signed-off-by: David D Kilzer <ddkilzer@kilzer.net>
> ---
> 
> No changes were needed to parts 1 and 2 of this series, so I am not
> reposting them.
> 
> Updated this patch based on feedback from Benoit Sigoure and Eric Wong:
> 
> - Commented find_rev_before() and find_rev_after().
> - Changed commit_log_separator() into a constant.
> - Made return statement safer by adding another check in git_svn_log_cmd().
> - Changed echo statement to printf in t/t9116-git-svn-log.sh.
> 
> All tests pass on maint branch.
Thanks,
Acked and pushed out to http://git.bogomips.org/git-svn.git
David D Kilzer (3):
      git-svn log: fix ascending revision ranges
      git-svn log: include commit log for the smallest revision in a range
      git-svn log: handle unreachable revisions like "svn log"
David Reiss (1):
      git-svn: Fix a typo and add a comma in an error message in git-svn
Eric Wong (1):
      git-svn: add tests for command-line usage of init and clone commands
Konstantin V. Arkhipov (1):
      git-svn's dcommit must use subversion's config
-- 
Eric Wong
Previous: David D KilzerNext: Junio C Hamano
Message 10 of 11 in “git-svn log fixes”
  1. 0/3 git-svn log fixesDavid D Kilzer, Nov 11, 2007
  2. 1/3 git-svn log: fix ascending revision rangesDavid D Kilzer, Nov 11, 2007
  3. 2/3 git-svn log: include commit log for the smallest revision in a rangeDavid D Kilzer, Nov 11, 2007
  4. 3/3 git-svn log: handle unreachable revisions like "svn log"David D Kilzer, Nov 11, 2007
  5. Benoit SigoureNov 11, 2007
  6. David D. KilzerNov 11, 2007
  7. Benoit SigoureNov 11, 2007
  8. Eric WongNov 12, 2007
  9. 3/3 git-svn log: handle unreachable revisions like "svn log"David D Kilzer, Nov 12, 2007
  10. Eric WongNov 17, 2007
  11. Junio C HamanoNov 18, 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.