weishirongzhen1 / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

Manifest.xml does not supporting copying directories #176

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version:
Environment:

What steps will reproduce the problem?
1. edit Manifest.xml
<project path="module" name="module.git" revision="1.0.0.0">
  <copyfile src="." dest="./copy"/>
</project>
2.
error: Cannot copy file /home/username/workshop/module/. to 
/home/username/workshop/./copy
error: Cannot copy file /home/username/workshop/module/. to 
/home/username/workshop/./copy

What is the expected output? What do you see instead?

Please provide any additional information below.
what about providing a new class _CopyDirectory in .repo/repo/project.py?

Original issue reported on code.google.com by j...@pivotal.io on 1 Aug 2014 at 8:27