[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] cvs export for tla?
From: |
Andrei A. Voropaev |
Subject: |
Re: [Gnu-arch-users] cvs export for tla? |
Date: |
Fri, 18 Feb 2005 17:21:13 +0100 |
User-agent: |
Mutt/1.5.6i |
On Fri, Feb 18, 2005 at 09:36:48AM -0600, John Arbash Meinel wrote:
> Andrei A. Voropaev wrote:
>
> >Hi!
> >
> >Is there a command for tla that does the same thing as cvs export. Ie.
> >it gets the sources but without any {arch} information?
> >
> >
> >
> I don't know that there is, but you can do:
> tla get package--branch package-0.1
> tla inventory -B -s package-0.1
>
> (-B = --both -s = --source)
>
> So you can do:
>
> tla get ...
> tla inventory --unescaped -B -s package-0.1 | xargs \
> tar cvzf package-0.1.tar.gz
>
> There is a small bug in the above if you have spaces in filenames, as
> xargs thinks of them as separate files. You can use the escaped form,
> but that causes other problems, as then the name doesn't match the
> filesystem name.
>
> A while back, I think there was another way of doing it, involving for,
> or while read, or something like that.
Thank you. I always forget about that inventory command. Though I've
adjusted your approach
tla inventory --unescaped -s package-0.1 |tar -cjf myarchive.tar.bz2 -T -
Note. -B flag to inventory causes all the arch files to be added to
archive :)
--
Minds, like parachutes, function best when open
- [Gnu-arch-users] cvs export for tla?, Andrei A. Voropaev, 2005/02/18
- Re: [Gnu-arch-users] cvs export for tla?, John Arbash Meinel, 2005/02/18
- Re: [Gnu-arch-users] cvs export for tla?,
Andrei A. Voropaev <=
- Re: [Gnu-arch-users] cvs export for tla?, John Arbash Meinel, 2005/02/18
- Re: [Gnu-arch-users] cvs export for tla?, Jason McCarty, 2005/02/18
- Re: [Gnu-arch-users] cvs export for tla?, Adrian Irving-Beer, 2005/02/18
- Re: [Gnu-arch-users] cvs export for tla?, David Allouche, 2005/02/18
- Re: [Gnu-arch-users] cvs export for tla?, Jan Hudec, 2005/02/21
[Gnu-arch-users] Re: cvs export for tla?, Matthieu Moy, 2005/02/18
Re: [Gnu-arch-users] cvs export for tla?, Robert Collins, 2005/02/18