Merge diff display shold show line numbers

Bug #317931 reported by Eleanor Berger
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Tim Penhey

Bug Description

The merge diff display for merge proposal should show the line number to the left of each line, to make it easier for people who read it over the web to discuss the change.

Revision history for this message
Aaron Bentley (abentley) wrote : Re: [Bug 317931] [NEW] Merge diff display shold show line numbers

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tom Berger wrote:
> Public bug reported:
>
> The merge diff display for merge proposal should show the line number to
> the left of each line, to make it easier for people who read it over the
> web to discuss the change.

That would make it hard to copy and paste.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEUEARECAAYFAklxBr8ACgkQ0F+nu1YWqI07MQCePNVGfM02Gipp7fRTmL7EzYcC
GXwAlin+vfRfIT1o3ILbhMlgTn/cAO0=
=aHcl
-----END PGP SIGNATURE-----

Revision history for this message
Martin Albisetti (beuno) wrote :

On Fri, Jan 16, 2009 at 8:14 PM, Aaron Bentley <email address hidden> wrote:
> That would make it hard to copy and paste.

Unless it where separated as a table like pastebin:
https://pastebin.canonical.com/12390/
:)

--
Martin

Revision history for this message
Aaron Bentley (abentley) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Albisetti wrote:
> On Fri, Jan 16, 2009 at 8:14 PM, Aaron Bentley <email address hidden> wrote:
>> That would make it hard to copy and paste.
>
> Unless it where separated as a table like pastebin:
> https://pastebin.canonical.com/12390/

That approach won't work if we allow lines to wrap.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklxDEAACgkQ0F+nu1YWqI13PQCdE24TssyYRUBd4ejiIquXxMWZ
pv0AnR5dEo1Vj5XcpdCnZEEIenvzbpsf
=ceVx
-----END PGP SIGNATURE-----

Revision history for this message
Martin Albisetti (beuno) wrote :

On Fri, Jan 16, 2009 at 8:37 PM, Aaron Bentley <email address hidden> wrote:
>> Unless it where separated as a table like pastebin:
>> https://pastebin.canonical.com/12390/
>
> That approach won't work if we allow lines to wrap.

Personally, I'd rather not have lines wrap and show line numbers, so
it's a fair trade off.
Bug of course, it's up to you! :)

--
Martin

Revision history for this message
Jonathan Lange (jml) wrote :

We need a decision on this one. Marking as incomplete.

Changed in launchpad-bazaar:
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Jonathan Lange (jml) wrote :

We should show line numbers, regardless of pastability, since bug 327135 solves the paste problem -- just like pastebin.

Changed in launchpad-bazaar:
status: Incomplete → Triaged
Revision history for this message
Tim Penhey (thumper) wrote :

Given most of the coding standards say "short lines" we should be able to have line numbers and no line wrapping.

Can we just give the div an overflow: scroll option if the lines are too long?

Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → thumper
milestone: none → 2.2.2
status: Triaged → In Progress
Revision history for this message
Tim Penhey (thumper) wrote :

Fixed in RF 7753.

Changed in launchpad-bazaar:
status: In Progress → Fix Committed
Tim Penhey (thumper)
Changed in launchpad-bazaar:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.