[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread nakro

Greg and Evan, thanx a lot

Greg your solution is perfect, and it works!
Evan, i of course never applied anyone else's patch, and i have to say
i never saw in your online documentation about how to get the code
any mention of this cygwin setup i needed to do, i must have missed
it, sorry
i will look for it to find how to get this cygwin thing going

thanx to you both
--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread Evan Stade

how do you apply other people's diffs if you don't have patch?

Run cygwin's setup.exe and select the 'patch' package.

-- Evan Stade



On Fri, May 29, 2009 at 6:43 PM, nakro  wrote:
>
> Evan, i have cygwin in my path
>
> and i know that when you build chrome it registers cygwin via some
> registry mounting hack
> as a prof
> if i enter pwd
> it indeed works like in unix
>
> still, none of your solutions works
> can you really run this on your windows OS ?
>
> for example, in my cygwin/bin directory there is no 'patch'
> command 
> and not in my 'depot_tools' folder
> in fact there is no patch.exe anywhere on my disk
>
>
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread nakro

Evan, i have cygwin in my path

and i know that when you build chrome it registers cygwin via some
registry mounting hack
as a prof
if i enter pwd
it indeed works like in unix

still, none of your solutions works
can you really run this on your windows OS ?

for example, in my cygwin/bin directory there is no 'patch'
command 
and not in my 'depot_tools' folder
in fact there is no patch.exe anywhere on my disk


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread Greg Spencer
Try using Tortise SVN, it has built-in visual diff and explorer shell
integration (and it's free).

http://tortoisesvn.tigris.org

You might even be able to set the diff program it uses, I'm not sure (I'm on
my Mac right now, but I use Tortise on my Windows machine).

Note that this is only the SVN part of things -- you'll still have to use
gclient to do some operations on the whole tree (like sync the
dependencies).

-Greg.

On Fri, May 29, 2009 at 6:29 PM, nakro  wrote:

>
> thanx evan, just to be clear i use *windows* (hence the windiff
> thing)
> and i have svn 1.6.1 (the normal env i hope, i did not modify it)
>
> 1- svn diff `find . -name "*.cc"`
> returns:
> svn.exe: invalid option character: n
>
> 2-
> 'patch' is not recognized as an internal or external command
> operable program or batch file.
>
> and indeed there is no patch utility
>
> i haven't used unix in years, but as it seems your solution is unix
> based,
> and thoughts are welcome
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread Evan Stade

use cygwin

-- Evan Stade



On Fri, May 29, 2009 at 6:29 PM, nakro  wrote:
>
> thanx evan, just to be clear i use *windows* (hence the windiff
> thing)
> and i have svn 1.6.1 (the normal env i hope, i did not modify it)
>
> 1- svn diff `find . -name "*.cc"`
> returns:
> svn.exe: invalid option character: n
>
> 2-
> 'patch' is not recognized as an internal or external command
> operable program or batch file.
>
> and indeed there is no patch utility
>
> i haven't used unix in years, but as it seems your solution is unix
> based,
> and thoughts are welcome
> >
>

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread nakro

thanx evan, just to be clear i use *windows* (hence the windiff
thing)
and i have svn 1.6.1 (the normal env i hope, i did not modify it)

1- svn diff `find . -name "*.cc"`
returns:
svn.exe: invalid option character: n

2-
'patch' is not recognized as an internal or external command
operable program or batch file.

and indeed there is no patch utility

i haven't used unix in years, but as it seems your solution is unix
based,
and thoughts are welcome
--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: 2 questions about SVN

2009-05-29 Thread Evan Stade

2009/5/29 nakro :
>
> Hi,
>
> 1-
> if i want to see ONLY the .cc files i changed in a folder i type
> svn diff *.cc       <-works
> but say i do the same in ...\src\chrome
> i get this :
>
> svn: Can't open file '*.cc\.svn\entries': ??T? ,-.?, T? ,`"~%, ?. ,?╪?
> %~ T? ?..%
> ? ??-'% ,?╪`.? T,.%%?.
>
> which i need to find all the changes i did (svn diff by itself is too
> much info and i need to filter)
>
> 2-
> i would like to use windiff against my modified sources
> so say i have modified
> a.cc
>
> if i do a "svn revert a.cc" it will overwrite my modified file, which
> is not what i want
> and "svn diff a.cc" is not very readable to me
>
> so what i would like to do is revert but give a new name for the file
> and then i can add a tool in the IDE to quickly windiff
>
> thanx
>
>
> >
>


1. svn diff `find . -name "*.cc"`
2. svn diff a.cc | patch -Rp0 -o a_trunk.cc

-- Evan Stade

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---