git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git=p4.py rebase now honor's client spec

From
Luke Diamand <luke@diamand.org>
Date
Mar 20, 2015, 08:13 UTC
Message-ID
<550BD6C2.4070208@diamand.org>
In-Reply-To
<20150319215816.GI612775@vauxhall.crustytoothpaste.net>
On 19/03/15 21:58, brian m. carlson wrote:
Show 8 quoted lines
> On Thu, Mar 19, 2015 at 12:28:09PM +0000, Sam Bishop wrote:
>> When using the git-p4.py script, I found that if I used a client spec when
>> cloning out a perforce repository, and then using a git-p4.py rebase, that
>> the rebase command would be using the current perforce client spec,
>> instead of the one used when doing the initial clone. My proposed patch
>> causes the rebase command to switch to the perforce client spec used when
>> doing the initial git-p4.py clone.
>>

That's very useful, thanks. I've noticed that behaviour in the past and always thought it ought to be fixed. As Brian notes, it needs a "Signed-off" line in the patch.

A very small nit: could you prefix the subject with "git p4:" so that it's consistent with other recent git-p4 changes - it makes it easier to pick them out when reviewing changes.

Could you run the git-p4 unit tests on it please (t/t98*)? I could be wrong about this, but it looks to me like t9806-git-p4-options.sh doesn't pass now with this change (*)

Thanks! Luke

(*) There's at least one test that doesn't pass anyway, but this seems to be new.

Previous: brian m. carlson
Message 3 of 3 in “git=p4.py rebase now honor's client spec”
  1. git=p4.py rebase now honor's client specSam Bishop, Mar 19, 2015
  2. brian m. carlsonMar 19, 2015
  3. Luke DiamandMar 20, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.