hraban / tomono

Multi- To Mono-repository merge
https://tomono.0brg.net
GNU Affero General Public License v3.0
842 stars 138 forks source link

Some kind of issue in your sed command #11

Closed jtremback closed 6 years ago

jtremback commented 6 years ago

Mac:

$ cat repos.txt | ./tomono/tomono.sh
~/work/src/github.com/althea-mesh/core ~/work/src/github.com/althea-mesh
Initialized empty Git repository in /Users/jehan/work/src/github.com/althea-mesh/core/.git/
Merging in https://github.com/althea-mesh/althea_types..
Automatic merge went well; stopped before committing as requested
Merging in https://github.com/althea-mesh/althea_kernel_interface..
warning: no common commits
sed: 1: "s_kernel_interface/__
": bad flag in substitute command: '_'

Linux:

ubuntu@ubuntu-xenial:/vagrant/src/github.com/althea-mesh$ sudo cat repos.txt | ./tomono/tomono.sh 
/vagrant/src/github.com/althea-mesh/core /vagrant/src/github.com/althea-mesh
Initialized empty Git repository in /vagrant/src/github.com/althea-mesh/core/.git/
Merging in https://github.com/althea-mesh/althea_types..
Automatic merge went well; stopped before committing as requested
Merging in https://github.com/althea-mesh/althea_kernel_interface..
warning: no common commits
sed: -e expression #1, char 21: unknown option to `s'
hraban commented 6 years ago

Hi @jtremback thanks for the bug report. Could you please try again with my branch, https://github.com/hraban/tomono/tree/robust-remotes ? cd ..../tomono ; git remote add hraban https://github.com/hraban/tomono.git ; git fetch hraban ; git checkout robust-remotes and see if that works?

Cheers

cjbottaro commented 6 years ago

I had the same problem and @hraban's robust-remotes branch worked for me.