By mistake I uploaded a patch to a bug to Gerrit having some mistakes in
the commit message.
If I'm linking a bug to the patch I should add Bug: bugnumber
But I added it as Bug:bugnumber
(Having no space after the colon)
Will it be fine for this time? Or should I do something to correct it?


On Thu, Mar 13, 2014 at 5:33 PM, Maduranga Siriwardena <
[email protected]> wrote:

> I corrected the error by renaming the commit-msg.sample to commit-msg
> located in .git/hooks/ of the project folder.
>
>
> On Thu, Mar 13, 2014 at 5:22 PM, Dan Andreescu 
> <[email protected]>wrote:
>
>> >
>> > Hi,
>> > I'm having some trouble when trying to upload the fix to gerrit. I
>> followed
>> > the instructions in [1]. But I get the bellow error when trying to run
>> > git review -s
>> >
>> > Error.
>> >
>> > Problems encountered installing commit-msg hook
>> > The following command failed with exit code 1
>> >     "scp  gerrit.wikimedia.org:hooks/commit-msg .git/hooks/commit-msg"
>> > -----------------------
>> > .git/hooks/commit-msg: No such file or directory
>> > -----------------------
>> >
>>
>> > [1]
>> >
>> http://www.mediawiki.org/wiki/Gerrit/Tutorial#Make_and_commit_your_change
>>
>>
>> I'm certainly no fan of gerrit, and I hope gerrit-patch-uploader that
>> Sumana mentioned helps you.  But if not, the error you're having above
>> sounds like you are doing "git review -s" outside your repository's
>> directory.  So you might try:
>>
>> git clone repository-address folder-to-clone-into
>> cd folder-to-clone-into
>> git review -s
>> _______________________________________________
>> Wikitech-l mailing list
>> [email protected]
>> https://lists.wikimedia.org/mailman/listinfo/wikitech-l
>>
>
>
>
> --
> Maduranga Siriwardena
> Undergraduate
> University of Moratuwa, Faculty of Engineering
> Department of Computer Science and Engineering
>



-- 
Maduranga Siriwardena
Undergraduate
University of Moratuwa, Faculty of Engineering
Department of Computer Science and Engineering
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to