You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Niels Skou Olsen <ns...@manbw.dk> on 2004/11/02 14:23:58 UTC

Re: color coded diff viewer

v4r4n <co...@gmail.com> writes:

[...]

> "M-x ediff-buffers or ediff-files" is something I'll try to remember
> but it also looks like something I would have used if I was using CVS
> or something other than SVN that actually kept duplicate hard copies
> of everything.
>
> Emacs ediff also wasn't adding actuall color to the code, just tints of grey.

What version of Emacs/ediff are you using? Ediff gives me both colorized
code lines *and* diff markings. This works on a windows machine with either
Emacs 21.3.1 or the current CVS version 21.3.50.1.

Are you sure have a color monitor? ;-)

Best regards,
Niels
-- 
Niels Skou Olsen, M.Sc.
Intelligent Engine, R&D
MAN B&W Diesel A/S

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: color coded diff viewer

Posted by Martin Ginkel <mg...@mpi-magdeburg.mpg.de>.
Niels Skou Olsen wrote:
>>"M-x ediff-buffers or ediff-files" is something I'll try to remember
>>but it also looks like something I would have used if I was using CVS
>>or something other than SVN that actually kept duplicate hard copies
>>of everything.

No. for Emacs there is psvn. This has diff-viewing options,
that actually download the repos-version and compare it to your working 
copy. (M-x svn-status and E on the file in question)
This does syntax-higlighting according to the current language mode.

I guess, you can tweak it to show other diffs too.

	CU
	Martin

-- 
+-[Martin Ginkel]-------------[mailto:mginkel(at)mpi-magdeburg.mpg.de]-+
| MPI Magdeburg, Zi S2.09    Sandtorstr. 1, D-39106 Magdeburg, Germany |
| Start a download. Get a coffee. Multitasking.                        |
|                                                                      |
+-[tel/fax: +49 391 6110 482/529]----[http://www.mpi-magdeburg.mpg.de]-+


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: color coded diff viewer

Posted by Niels Skou Olsen <ns...@manbw.dk>.
v4r4n <co...@gmail.com> writes:

[...]

>> > Emacs ediff also wasn't adding actuall color to the code, just tints of grey.
>> 
>> What version of Emacs/ediff are you using? Ediff gives me both colorized
>> code lines *and* diff markings. This works on a windows machine with either
>> Emacs 21.3.1 or the current CVS version 21.3.50.1.

[...]

> Ya, I'm using 21.2.1 still.  I guess the easiest thing to do would be
> to upgrade my Emacs.

If you go for the CVS version you will have the added convenience of the VC
package with (basic) Subversion support, including the wonderfully
convenient `ediff-revision'. 

Another interesting item is the psvn.el, which provides access to more
Subversion specific functionality. Download the latest revision here:

  http://svn.collab.net/viewcvs/svn/trunk/contrib/client-side/psvn/psvn.el

Best regards,

Niels
-- 
Niels Skou Olsen, M.Sc.
Intelligent Engine, R&D
MAN B&W Diesel A/S

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: color coded diff viewer

Posted by v4r4n <co...@gmail.com>.
Ya, I'm using 21.2.1 still.  I guess the easiest thing to do would be
to upgrade my Emacs.

~Thanks


On Tue, 02 Nov 2004 15:23:58 +0100, Niels Skou Olsen <ns...@manbw.dk> wrote:
> v4r4n <co...@gmail.com> writes:
> 
> [...]
> 
> > "M-x ediff-buffers or ediff-files" is something I'll try to remember
> > but it also looks like something I would have used if I was using CVS
> > or something other than SVN that actually kept duplicate hard copies
> > of everything.
> >
> > Emacs ediff also wasn't adding actuall color to the code, just tints of grey.
> 
> What version of Emacs/ediff are you using? Ediff gives me both colorized
> code lines *and* diff markings. This works on a windows machine with either
> Emacs 21.3.1 or the current CVS version 21.3.50.1.
> 
> Are you sure have a color monitor? ;-)
> 
> Best regards,
> Niels
> --
> Niels Skou Olsen, M.Sc.
> Intelligent Engine, R&D
> MAN B&W Diesel A/S
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org