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

Re: lost again on syntax change - local repository?

From
Randal L. Schwartz <merlyn@stonehenge.com>
Date
Nov 28, 2005, 13:45 UTC
Message-ID
<86zmno6g3v.fsf@blue.stonehenge.com>
In-Reply-To
<20051128134111.GP22159@pasky.or.cz>
>>>>> "Petr" == Petr Baudis <pasky@suse.cz> writes:

Petr> It would sure be bad if this was the case. However I'm really sorry, but Petr> I still can't reproduce it.

Reproduce by this:
    localhost:~/Projects/Git/Play % cg-admin-setuprepo remote.git
    localhost:~/Projects/Git/Play % mkdir local.git
    localhost:~/Projects/Git/Play % cd local.git
    localhost:..Git/Play/local.git % cg-init -minitial
    defaulting to local storage area
    Committing initial tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
    Committed as 958ed484382609786ca9ae611cc54802cb7697a9.
    localhost:..Git/Play/local.git % cg-branch-add origin "$(cd ..; pwd)/remote.git#master"           
    localhost:..Git/Play/local.git % cg-push
    WARNING: I guessed the host:path syntax was used and fell back to the git+ssh protocol.
    WARNING: The host:path syntax is evil because it is implicit. Please just use a URI.
    ssh: \033]2;[zsh] localhost: No address associated with nodename
    fatal: unexpected EOF
I did this with current-of-the-moment git and cogito:
localhost:~ % cd MIRROR/git-GIT 
localhost:~/MIRROR/git-GIT % cg-status
Heads:
   >master      f1f909e3185b5ee366e198042447afe749bfc813
  R origin      f1f909e3185b5ee366e198042447afe749bfc813
localhost:~ % cd MIRROR/cogito-GIT 
localhost:~/MIRROR/cogito-GIT % cg-status
Heads:
   >master      cec6c5564c6dcc30361f164dce9ac5dc635d202f
  R origin      cec6c5564c6dcc30361f164dce9ac5dc635d202f

If this indeed works on your machine, then we have a Darwin dependency somewhere in cg-push or something it calls.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
Previous: Petr BaudisNext: Randal L. Schwartz
Message 8 of 14 in “lost again on syntax change - local repository?”
  1. Randal L. SchwartzNov 28, 2005
  2. Junio C HamanoNov 28, 2005
  3. Alecs KingNov 28, 2005
  4. Randal L. SchwartzNov 28, 2005
  5. Petr BaudisNov 28, 2005
  6. Randal L. SchwartzNov 28, 2005
  7. Petr BaudisNov 28, 2005
  8. Randal L. SchwartzNov 28, 2005
  9. Randal L. SchwartzNov 28, 2005
  10. Petr BaudisNov 28, 2005
  11. Randal L. SchwartzNov 28, 2005
  12. Petr BaudisNov 28, 2005
  13. Randal L. SchwartzNov 28, 2005
  14. Petr BaudisNov 28, 2005

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.