graph view does not show lines with ---

Martin Geisler mg at lazybytes.net
Wed Dec 2 18:16:32 CST 2009


Fabian <bona+google at fabian-kreutz.de> writes:

Hi Steve

>> Would you mind providing a small sequence of (bash/hg) commands, to
>> reproduce the issue you're describing?
>
> Sure, though there is not much to script:
>
> mkdir testcase; cd testcase
> echo -e "foo\n---*/\n" >file
> hg init
> hg commit -A -m create
> echo >file
> hg commit -m "delete comment"
> hg view
>
> ----
> Filtering the +++ / --- in diff headers sounds like a likely cause to
> me. :)

I'm seeing the same problem in 'hgtk log'. After running the above
commands, the log viewer shows:

  delete comment

  === (+1,-3) file ===
  @@ -1,3 +1,1 @@
  -foo

when it should show

  delete comment

  diff --git a/file b/file
  --- a/file
  +++ b/file
  @@ -1,3 +1,1 @@
  -foo
  ----*/

(output from 'hg export tip')

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20091203/3ee33791/attachment.pgp>


More information about the Mercurial-devel mailing list