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

List:       koffice-devel
Subject:    Re: commiting a patch
From:       p.stirnweiss_koffice () bluewin ! ch
Date:       2004-08-26 18:28:39
Message-ID: 40F7A9ED001267DA () mssbzhb-int ! msg ! bluewin ! ch
[Download RAW message or body]


>-- Message original --
>From: Nicolas Goutte <nicolasg@snafu.de>
>To: For developer's discussion about KOffice <koffice-devel@mail.kde.org>
>Date: Thu, 26 Aug 2004 20:09:26 +0200
>Subject: Re: commiting a patch
>Reply-To: For developer's discussion about KOffice <koffice-devel@mail.kde.org>
>
>
>CVS oinly works with files, so there is not any way to commit directly a
>
>patch.
>
>For doing something like you want, there are 2 possible ways:
>- modify the code, create the patch, look at the patch and see what you
want
>
>to modify and change the file (not the patch) and start again the cycle
until
>
>you feel that you have want you want to commit. (That is the recommended
>
>way.)
>
>- the other way is especially useful when you have too much modified. After
>
>creating the patch, use "cvs update -C" which loads back an unmodified 
>version of the file. Then you can either re-modify the file or patch the
>
>file.


Actually, my problem is more the following:
I am working on ui stuff (curently for the style manager). This is a long
lasting project (for me at least) and I can have stuff in a pretty bad shape.
And I do not want to commit this.
However, in parallel I want to close easy todos or bugs (like changing findStyleShortcut
to findStyleByShortcut) which can involve quite a lot of file.
So reverting what I am working on the long run is not really an option and
what I want to commit (the patch) is not what I want to filter out. Perhaps,
doing two diffs (the simple one and the big brocken one, update -C, apply
the simple patch, commit the changes, then brake again my code with the big
broken patch. Ok, that should work (it is a bit cumbersome but it might be
the simplest way to do then). By the way, I read that subversion was better
than CVS, is this true or is there still too much problems with it to use?

Thanks for you answer

Piere


>
>Have a nice day!
>
>On Thursday 26 August 2004 19:51, p.stirnweiss_koffice@bluewin.ch wrote:
>> Hello,
>>
>> I have just received a CVS account, thanks. Just a quick question : it
>> seems that one can commit either all the changes of one's local copy or
>> file by file. Is there a way to commit a patch? (it seems easier for me
>to
>> do a cvs diff, then to remove the sections I do not want to commit and
>> commit the patch file, but if it is not possible then too bad ;) )
>>
>> Pierre
>>
>> _______________________________________________
>> koffice-devel mailing list
>> koffice-devel@mail.kde.org
>> https://mail.kde.org/mailman/listinfo/koffice-devel
>
>_______________________________________________
>koffice-devel mailing list
>koffice-devel@mail.kde.org
>https://mail.kde.org/mailman/listinfo/koffice-devel

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

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