bugArX revision control system - Bugs: bug #4793, get patch --files


bug #4793: get patch --files

Submitted by:  Walter Landry <landry>
Submitted on:  Sun 17 Aug 2003 03:09:33 AM UTC  
Severity: 1 - FeatureItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 17 Aug 2003 03:09:33 AM UTC, original submission:

(Taken from a wishlist against tla)


ViewARCH doesn't access to TLA repo directly.
All operation are executed through related tla subcommands.
I think it's the right idea. Even if internal format
of tla repository will be changed, it can access
such new repo as well as old ones, as far as tla's
subcommand won't be changed.

On such premises, I'd like the following commands:

  • On-the-fly patch file retrieving

Take a look at the following URL for example:


The algorithm is:

1. make temp directory
2. 'tla get-patch' on it
3. retrieve the file that I want (in this case, 'cmd-ls-archives.c')
4. remove the temp directory

This sequence is simply awful. Can I get the following option ?

$ tla get-patch -O -A lord@emf.net--2003b tla--devo--1.1--patch-125 ./libarch/cmd-ls-archives.c
--- orig/libarch/cmd-ls-archives.c
+++ mod/libarch/cmd-ls-archives.c
@@ -18,7 +18,7 @@

-static t_uchar * usage = "[options] archive";
+static t_uchar * usage = "[options] [search regular expression]";
static t_uchar * version_string = (cfg__std__package " from regexps.com\n"



-O means 'stdout', and optional filename(./libarch/cmd-ls-archives.c) can be accepted.

  • On-the-fly directory listing & file retrieving

When concerning the characteristic of tar + patch storage paradigma,
it may be very difficut, but ...

As many people noticed, ViewARCH can't browse file/directory.

Can I get the following commands ?

$ tla get -O --dir -A lord@emf.net--2003b tla--devo--1.1--patch-12 ./
F ChangeLog
D ChangeLog.d
F Makefile.in
D libarch
D libawk
D libdate
D libfsutils
D libneon
D tests
D tla
D tutorial
D {arch}
$ tla get -O --dir -A lord@emf.net--2003b tla--devo--1.1--patch-12 ./tla
F Makefile.in
F tla.c
$ tla get -O --file -A lord@emf.net--2003b tla--devo--1.1--patch-12 ./libarch/cmd.c
/* cmd.c:
* Copyright (C) 2003 Tom Lord
* See the file "COPYING" for further information about
* the copyright and warranty status of this work.


/* tag: Tom Lord Mon Jun 2 17:26:01 2003 (cmd.c)

- Tez

Walter Landry <landry>
Project Administrator


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1