[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    How do I submit a patch that adds files?
From:       kevinb () cygnus ! com (Kevin Buettner)
Date:       2001-01-29 15:25:00
Message-ID: 1010129232534.ZM17731 () ocotillo ! lan
[Download RAW message or body]

On Jan 29,  3:05pm, Michael Elizabeth Chastain wrote:

> OK, I've got write-after-approval access and I want to add a new
> test script:
> 
>   gdb/testsuite/gdb.base/structs3.exp
>   gdb/testsuite/gdb.base/structs3.c
> 
> When I do "cvs diff", it gives me some useless ? messages:
> 
>   ? gdb/testsuite/gdb.base/structs3.exp
>   ? gdb/testsuite/gdb.base/structs3.c
> 
> As far as I know, my next CVS move would be "cvs add structs3.exp",
> but I don't have authority to do that on the repository.

The "cvs add" operation simply marks the file as being added in your
working directory.  It doesn't actually add it to the repository.
For that to happen, you'll need to do a "cvs commit" after the
"cvs add".

> What is the procedure for me to submit a patch that adds new files?

Do a "cvs add".  Then generate a patch via "cvs diff -upN" and
submit it as usual.  After approval, do a "cvs commit" on the files
in question.

Kevin

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic