rahedges / git-repo

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

When copying files allow parent directories to be created #47

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Reported by Matthew Buckett <matthew.buckett@oucs.ox.ac.uk> on Wed Sep 02 
04:15:21 PDT 2009
Source: JIRA REPO-47
Affected Version: 1.6.8.7

Allow the copyfile tags in the manifest to support creating a directory that
doesn't yet exist. In this example:

<project name="sakai">
  <copyfile src="pom.xml" dest="pom.xml"/>
  <copyfile src="kernel-deploy/pom.xml" dest="kernel-deploy/pom.xml"/>
  <copyfile src="pack-demo/pom.xml" dest="pack-demo/pom.xml"/>
</project>

the folder kernel-deploy doesn't exist in a standard checkout. As git doesn't
track directories it can't be added without creating a file inside the
directory.

The layout of the projects is coming from converting a SVN project with lots
of externals to repo/git.

Original issue reported on code.google.com by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:10

Attachments:

GoogleCodeExporter commented 9 years ago
Comment by Matthew Buckett <matthew.buckett@oucs.ox.ac.uk> on Wed Sep 02 
04:16:50 PDT 2009

Attached path which attempts to create directory if it doesn't exist.

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:11

GoogleCodeExporter commented 9 years ago
Comment by Shawn Pearce <sop@google.com> on Fri Sep 04 09:29:06 PDT 2009

Patch looks good, but can you upload it to our gerrit instance at
https://review.source.android.com/ project name tools/repo?  E.g. create an
account, complete a CLA, and:

  git push ssh://you@review.source.android.com:29418/tools/repo HEAD:refs/for/
master

Original comment by code-rev...@gtempaccount.com on 24 Sep 2009 at 9:11

GoogleCodeExporter commented 9 years ago

Original comment by sop+code@google.com on 24 Sep 2009 at 11:06

GoogleCodeExporter commented 9 years ago
https://review.source.android.com/12524

Original comment by buck...@gmail.com on 8 Nov 2009 at 8:27

GoogleCodeExporter commented 9 years ago
https://gerrit-review.googlesource.com/#/c/12524/

Original comment by david.pu...@sonymobile.com on 14 Feb 2013 at 8:35