Re: Bug Report: git-p4 unshelve failed
- From
Luke Diamand <luke@diamand.org>
- Date
- Sep 16, 2020, 12:59 UTC
- Message-ID
- <CAE5ih79z8z+rmg-ncT6=RLaySr8GjxS5B33+yDh6bNC4TkUQDA@mail.gmail.com>
- In-Reply-To
- <DM6PR12MB3194C9B3A462968FA5A05B4CFA200@DM6PR12MB3194.namprd12.prod.outlook.com>
On Tue, 15 Sep 2020 at 02:09, Liu, Xuhui (Jackson) <Xuhui.Liu@amd.com> wrote:
Show 13 quoted lines
>
> Hi Git,
> When I use "git p4 unshelve 4495953", it failed.
> I have fixed this issue locally. You can check the attached for details.
>
> What have I done to fix this:
> It's because the line#4240 in function "findLastP4Revision" of git-p4.py:
> log = extractLogMessageFromGitCommit("{0}^{1}".format(starting_point, parent))
> I think it should be:
> log = extractLogMessageFromGitCommit("{0}~{1}".format(starting_point, parent))
>
> Best Regards,
> Jackson(Xuhui) LiuThis is indeed a bug. I will see if I can put together a patch.
Thanks Luke