Nicolas Vilz <niv@iaglans.de> wrote:No, this is just a bug in git-svn. After the following patch, you should be able to use -------------------------------------------- (no author) = real-name <email address> -------------------------------------------- in your authors file. -- Eric Wong From b40e14605809b0b1501002a333fbd680913f127f Mon Sep 17 00:00:00 2001 From: Eric Wong <normalperson@yhbt.net> Date: Mon, 11 Dec 2006 20:22:29 -0800 Subject: [PATCH] git-svn: correctly handle "(no author)" when using an authors file The low-level parts of the SVN library return NULL/undef for author-less revisions, whereas "(no author)" is a (svn) client convention. Signed-off-by: Eric Wong <normalperson@yhbt.net> --- git-svn.perl | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/git-svn.perl b/git-svn.perl index 1f8a3b0..17ebb77 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -2948,7 +2948,8 @@ sub libsvn_log_entry { my ($Y,$m,$d,$H,$M,$S) = ($date =~ /^(\d{4})\-(\d\d)\-(\d\d)T (\d\d)\:(\d\d)\:(\d\d).\d+Z$/x) or die "Unable to parse date: $date\n"; - if (defined $_authors && ! defined $users{$author}) { + if (defined $author && length $author > 0 && + defined $_authors && ! defined $users{$author}) { die "Author: $author not defined in $_authors file\n"; } $msg = '' if ($rev == 0 && !defined $msg); -- 1.4.4.2.g860f4 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Linus Torvalds | Linux 2.6.27-rc5 |
| Ingo Molnar | [patch 00/13] Syslets, "Threadlets", generic AIO support, v3 |
| Chris Snook | [PATCH 0/24] make atomic_read() behave consistently across all architectures |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Marcel Holtmann | Bluetooth fixes for 2.6.27 |
| Evgeniy Polyakov | [resend take 2 0/4] Distributed storage. |
| Andrew Morton | Re: [Bugme-new] [Bug 9721] New: wake on lan fails with sky2 module |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
git: | |
| Ping Yin | [RFC] git reset --recover |
| Wink Saville | Resolving conflicts |
| Ping Yin | [PATCH 0/7] submodule: fallback to .gitmodules and multiple level module definition |
| Linus Torvalds | Re: git pull for update of netdev fails. |
| Richard Stallman | Real men don't attack straw men |
| Karel Kulhavy | lookup option in /etc/resolv.conf ignored |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Will | fsck large filesystem, memory limit problem |
| Soft lock bug | 3 hours ago | Linux kernel |
| kernel module to intercept socket creation | 9 hours ago | Linux kernel |
| sysctl - dynamic registration problem | 9 hours ago | Linux kernel |
| Question on swap as ramdisk partition | 12 hours ago | Linux kernel |
| serial driver xmit problem | 17 hours ago | Linux kernel |
| Generic Netlink subsytem | 17 hours ago | Linux kernel |
| 'Report spam filter error' page broken | 19 hours ago | KernelTrap Suggestions and Feedback |
| Netfilter kernel module | 1 day ago | Linux kernel |
| Why Windows is better than Linux | 1 day ago | Linux general |
| How can I see my kernel messages in vt12? | 1 day ago | Linux kernel |
