[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-bzr failed in Windows XP
From: |
Leo |
Subject: |
Re: vc-bzr failed in Windows XP |
Date: |
Sun, 06 Jul 2008 19:50:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On 2008-07-06 18:38 +0100, Eric Hanchrow wrote:
>>>>>> "Leo" == Leo <address@hidden> writes:
>
> Leo> sha1sum.exe downloaded from
> Leo> ftp://ftp.gnupg.org/gcrypt/binary/sha1sum.exe.
>
> Leo> Now when I try to open a file in bzr repo and type C-x v =,
> Leo> Emacs throws the following backtrace:
>
> Leo> Debugger entered--Lisp error: (args-out-of-range 1 41)
> Leo> buffer-substring(1 41)
>
> Try to figure out what the output of "sha1sum" is -- my guess is it's
> not producing any output at all, or just an error. It looks to me like
> the lisp code is merely assuming that the output contains a 41-byte
> hexencoded SHA1 sum, which will be the case only if the program is
> actually working properly.
In DOS window, sha1sum FILE produces a correct output
(e.g. ae7734e7a54353ab13ecba780ed62344332fbc6f putty.exe).
However in the mentioned elisp, the temp buffer contains only:
,----
| usage: sha1sum filenames
`----
Looks like a bug in that elisp code.
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the better alternative -- http://www.openoffice.org/