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

Re: [PATCH 1/4] git p4: bring back files in deleted client directory

From
PWPete Wyckoff <pw@padd.com>
Date
Apr 30, 2012, 21:56 UTC
Message-ID
<20120430215609.GA22615@padd.com>
In-Reply-To
<4F9EDB34.5090103@diamand.org>
luke@diamand.org wrote on Mon, 30 Apr 2012 19:34 +0100:
Show 16 quoted lines
> On 30/04/12 13:36, Pete Wyckoff wrote:
> >luke@diamand.org wrote on Mon, 30 Apr 2012 07:55 +0100:
> >>
> >>Rebasing the current branch onto remotes/p4/master
> >>First, rewinding head to replay your work on top of it...
> >>File file1 doesn't exist. file1
> >>not ok - 3 submit with no client dir
> >
> >I can't figure it out.  Will you help debug a bit?  Something
> >like this maybe.
> 
> User error.
> 
> % cp git-p4.py git-p4
> 
> Then it works fine.

Whew. I caught myself forgetting to build a couple of times too.

"make git-p4" is a bit more official.
> Is there a way to get lib-git-p4.sh to check this?

This does seem appealing, but I'm not sure if it will be attractive to everybody else.

My thought pattern of what to put in lib-git-p4.sh went like:

    test git-p4.py -nt git-p4 && {
	echo "You must make git-p4" >&2
	exit 1
    }
to
    test git-p4.py -nt git-p4 && {
	echo "Making git-p4" >&2
	make git-p4
    }
to
    make git-p4
to
    make

and that's when I realized that everybody else has the same problem too. Somehow they've gotten used to rebuilding before rerunning the tests. I suspect that we should get used to it too.

That said, it would have saved me some head scratching on a few occasions.

		-- Pete
Previous: Luke DiamandNext: Pete Wyckoff
Message 6 of 10 in “git p4 submit fixes”
  1. 0/4 git p4 submit fixesPete Wyckoff, Apr 30, 2012
  2. 1/4 git p4: bring back files in deleted client directoryPete Wyckoff, Apr 30, 2012
  3. Luke DiamandApr 30, 2012
  4. Pete WyckoffApr 30, 2012
  5. Luke DiamandApr 30, 2012
  6. Pete WyckoffApr 30, 2012
  7. 2/4 git p4: test submitPete Wyckoff, Apr 30, 2012
  8. 3/4 git p4: fix writable file after rename or copyPete Wyckoff, Apr 30, 2012
  9. 4/4 git p4: submit files with wildcardsPete Wyckoff, Apr 30, 2012
  10. Luke DiamandApr 30, 2012

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.