Hi,
The thing that puzzles me is that gclient sync works fine in both platforms,
and the initial "gcl change <CL>" works fine. It only fails if I
lint, change, or upload that CL.

I guess I will just keep a single source, and use gclient/gcl only in linux
(while I could build in windows and linux),.

-- Mohamed Mansour


On Wed, May 27, 2009 at 2:59 AM, Craig Schlenter
<[email protected]>wrote:

> Hi
>
> Are you using vaguely equivalent versions of svn btw. between windows
> and linux? Sharing a working copy is always bad news for svn and I
> suspect horrid issues between different versions of svn on windows and
> linux or perhaps even cr/lf issues contributed to this problem :(
>
> Given that you have the modified source files, you could paste those
> into a fresh checkout and recreate/copy the gcl info stuff by hand if
> you wanted to push updates to existing patches in rietveld. The
> gcl_info stuff doesn't look too hard to fake and I have successfully
> hand edited the files before to force it to update the right CL when I
> screwed something up before.
>
> I'd paste an example gcl_info changes file here but cut-and-paste
> doesn't seem to be working in chrome in gmail now :(
>
> --Craig
>
> On Wed, May 27, 2009 at 8:09 AM, Mohamed Mansour
> <[email protected]> wrote:
> > Sorry for not being more "detailed in my problem", but I already tried
> > moving the gcl_info cause its not part of svn. And the failure still
> > persists. That is when I tried to msg dev mailing list.
> >
> > I don't want to loose my gcl_info patches, cause some patches of mine are
> > already open, and if I download a new branch, I loose my CL's.
> >
> > -- Mohamed Mansour
> >
> >
> > On Wed, May 27, 2009 at 2:04 AM, Evan Martin <[email protected]> wrote:
> >>
> >> You can debug it!
> >>
> >> From the backtrace you posted it looks like it's looking for a
> >> directory under .svn called gcl_info or something, right?  I'd look to
> >> see what's there, maybe try moving it to the side temporarily to see
> >> if that helps, etc.
> >>
> >> On Tue, May 26, 2009 at 11:01 PM, Mohamed Mansour
> >> <[email protected]> wrote:
> >> >
> >> > Sorry for another post, but now I am trying to commit my changes in
> >> > Linux (It was working fine, I submitted a patch couple of days ago).
> >> > Now I can't even do gcl changes command. What should I do to fix up my
> >> > messups :( I have no experience in svn (only in chromium), so any help
> >> > is appreciated.
> >> >
> >> > m...@m0-desktop:~/code/chromium/src$ gcl changes
> >> > Traceback (most recent call last):
> >> >  File "/mnt/backup/code/chromium/depot_tools/gcl.py", line 1149, in
> >> > <module>
> >> >    sys.exit(main())
> >> >  File "/mnt/backup/code/chromium/depot_tools/gcl.py", line 1057, in
> >> > main
> >> >    if not os.path.exists(GetInfoDir()):
> >> >  File "/mnt/backup/code/chromium/depot_tools/gcl.py", line 113, in
> >> > GetInfoDir
> >> >    return os.path.join(GetRepositoryRoot(), '.svn', 'gcl_info')
> >> >  File "/mnt/backup/code/chromium/depot_tools/gcl.py", line 99, in
> >> > GetRepositoryRoot
> >> >    raise Exception("gcl run outside of repository")
> >> > Exception: gcl run outside of repository
> >> > m...@m0-desktop:~/code/chromium/src$
> >> >
> >> >
> >> > On May 27, 1:53 am, Mohamed Mansour <[email protected]> wrote:
> >> >> Hi,
> >> >> Today I am trying to submit another patch, and it is not allowing me
> to
> >> >> do
> >> >> that, it somewhat fails. I am trying to do the following:
> >> >>
> >> >> gcl change 11435
> >> >>
> >> >> It brings up notepad and I add my stuff as I normally do. Then I save
> >> >> and
> >> >> close notepad. I run the gcl change command again (or even lint). I
> get
> >> >> these svn issues.
> >> >>
> >> >> svn: Can't open file
> >> >>
> >> >>
> 'M:\code\chromium\src\chrome\browser\views\options\content_page_view.cc\.svn\entries':
> >> >> The directory name is invalid.
> >> >> svn: Can't open file
> >> >>
> >> >>
> 'M:\code\chromium\src\chrome\browser\views\options\advanced_contents_view.cc\.svn\entries':
> >> >> The directory name is invalid.
> >> >>
> >> >> I run gcl change 11435 and I see those two files missing, so I do
> >> >> another
> >> >> lint, and I see.
> >> >>
> >> >> svn: Can't open file
> >> >>
> >> >>
> 'M:\code\chromium\src\chrome\browser\views\options\content_page_view.h\.svn\entries':
> >> >> The directory name is invalid.
> >> >>
> >> >> I do another gcl change 11435 to see whats wrong, and my changed
> files
> >> >> are
> >> >> not in the list anymore, its like it deleted everything.
> >> >>
> >> >> What may have went wrong?
> >> >>
> >> >> Maybe my setup is incorrect, I am submitting bugs on linux and on
> >> >> windows,
> >> >> and I shared my ext3 linux partition in windows. I installed chromium
> >> >> on
> >> >> linux first, and today I decided to fix a bug, after spending 3 hours
> >> >> on it
> >> >> (refactoring etc) I can't submit the patch.
> >> >>
> >> >> I would really like to fix this. Any suggestions? Its 2 AM EST and
> IRC
> >> >> seems
> >> >> dead tonight after 10 :(.
> >> >>
> >> >> Thanks!
> >> >>
> >> >> -- Mohamed Mansour
> >> > >
> >> >
> >
> >
> > > >
> >
>

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

Reply via email to