[fossil-users] How to export ala CVS?

2014-08-09 Thread Andy Bradford
Hello,

Does Fossil  have an option  that exports  a particular revision  of the
repository  similar to  how CVS  export  works? CVS  export will  export
either HEAD or an explicit revision to a named directory without all the
CVS control directories/files in the export.

As far as I can tell, the only way to get it is:

fossil open REPO VERSION
fossil close

Thanks,

Andy
-- 
TAI64 timestamp: 400053e668de


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to export ala CVS?

2014-08-09 Thread Stephan Beal
On Sat, Aug 9, 2014 at 8:30 PM, Andy Bradford amb-fos...@bradfords.org
wrote:

 Does Fossil  have an option  that exports  a particular revision  of the
 repository  similar to  how CVS  export  works? CVS  export will  export
 either HEAD or an explicit revision to a named directory without all the
 CVS control directories/files in the export.

 As far as I can tell, the only way to get it is:


 fossil open REPO VERSION
 fossil close


Or:

fossil zip trunk my.zip

resp. tar.


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to export ala CVS?

2014-08-09 Thread Tony Papadimitriou
Thanks to both you and Andy for your explanations.

fossil zip seems like a great solution for what I need.

Now, if there was a matching ‘unzip’ to do the hypothetical unzipping and serve 
the files as is, it would be even greater!  (The name ‘unzip’ only as a mental 
opposite to ‘zip’, not to suggest than an unzipping operation should follow the 
zipping but to skip simply over the zipping part.)

Thanks.

From: Stephan Beal 
Sent: Saturday, August 09, 2014 9:31 PM
To: Fossil SCM user's discussion 
Subject: Re: [fossil-users] How to export ala CVS?

On Sat, Aug 9, 2014 at 8:30 PM, Andy Bradford amb-fos...@bradfords.org wrote:

  Does Fossil  have an option  that exports  a particular revision  of the
  repository  similar to  how CVS  export  works? CVS  export will  export
  either HEAD or an explicit revision to a named directory without all the
  CVS control directories/files in the export.

  As far as I can tell, the only way to get it is:

  fossil open REPO VERSION
  fossil close


Or:

fossil zip trunk my.zip

resp. tar.


-- 

- stephan beal
http://wanderinghorse.net/home/stephan/ 
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those 
who insist on a perfect world, freedom will have to do. -- Bigby Wolf



___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to export ala CVS?

2014-08-09 Thread Eric Rubin-Smith
Andy Bradford wrote:

 Does Fossil  have an option  that exports  a particular revision  of the
 repository  similar to  how CVS  export  works? CVS  export will  export
 either HEAD or an explicit revision to a named directory without all the
 CVS control directories/files in the export.
 
 As far as I can tell, the only way to get it is:
 
 fossil open REPO VERSION
 fossil close

In case you didn't see it, it looks like from the command line you can 
use this:

==
$ fossil help tarball
Usage: fossil tarball VERSION OUTPUTFILE [--name DIRECTORYNAME] 
[-R|--repository REPO]

Generate a compressed tarball for a specified version.  If the --name
option is used, its argument becomes the name of the top-level directory
in the resulting tarball.  If --name is omitted, the top-level directory
named is derived from the project name, the check-in date and time, and
the artifact ID of the check-in.
==

Or if you are talking to the web service, you can do this:

wget localhost:8080/tarball/foo.tgz?uuid=VERSION

(where I think VERSION can be a tag name too).

--
Eric A. Rubin-Smith

___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] How to export ala CVS?

2014-08-09 Thread Andy Bradford
Thus said Stephan Beal on Sat, 09 Aug 2014 20:31:48 +0200:

 fossil zip trunk my.zip

Yes, that will work just perfectly fine for what I need, thanks.

Andy
-- 
TAI64 timestamp: 400053e6e144


___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users