Re: Moving a directory into another fails
- From
Jon Smirl <jonsmirl@gmail.com>
- Date
- Jul 26, 2006, 23:03 UTC
- Message-ID
- <9e4733910607261603m6772602cr333d8c58f555edaa@mail.gmail.com>
- In-Reply-To
- <20060726223459.GA30601@vsectoor.geht-ab-wie-schnitzel.de>
This is a simpler sequence
cg clone git foo cg clone git foo1 cd foo mkdir zzz git mv gitweb zzz cg diff >patch cg ../foo1 cg patch <../foo/patch
Fails with these errors. We have determined that git apply patch is ok and this is a bug in cg patch.
[jonsmirl@jonsmirl foo1]$ cg patch <../foo/patch mv: cannot move `gitweb/README' to `zzz/gitweb/README': No such file or directory mv: cannot move `gitweb/gitweb.cgi' to `zzz/gitweb/gitweb.cgi': No such file or directory mv: cannot move `gitweb/gitweb.css' to `zzz/gitweb/gitweb.css': No such file or directory mv: cannot stat `"gitweb/test/M\\303\\244rchen"': No such file or directory mv: cannot move `gitweb/test/file with spaces' to `zzz/gitweb/test/file with spaces': No such file or directory mv: cannot move `gitweb/test/file+plus+sign' to `zzz/gitweb/test/file+plus+sign': No such file or directory patch: **** Only garbage was found in the patch input. Removing file gitweb/README Adding file zzz/gitweb/README error: zzz/gitweb/README: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/README cg-add: warning: not all items could have been added Removing file gitweb/gitweb.cgi Adding file zzz/gitweb/gitweb.cgi error: zzz/gitweb/gitweb.cgi: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/gitweb.cgi cg-add: warning: not all items could have been added Removing file gitweb/gitweb.css Adding file zzz/gitweb/gitweb.css error: zzz/gitweb/gitweb.css: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/gitweb.css cg-add: warning: not all items could have been added Removing file "gitweb/test/Märchen" Adding file "zzz/gitweb/test/Märchen" error: "zzz/gitweb/test/Märchen": does not exist and --remove not passed fatal: Unable to process file "zzz/gitweb/test/Märchen" cg-add: warning: not all items could have been added Removing file gitweb/test/file with spaces Adding file zzz/gitweb/test/file with spaces error: zzz/gitweb/test/file with spaces: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/test/file with spaces cg-add: warning: not all items could have been added Removing file gitweb/test/file+plus+sign Adding file zzz/gitweb/test/file+plus+sign error: zzz/gitweb/test/file+plus+sign: does not exist and --remove not passed fatal: Unable to process file zzz/gitweb/test/file+plus+sign cg-add: warning: not all items could have been added [jonsmirl@jonsmirl foo1]$
-- Jon Smirl jonsmirl@gmail.com