bugGNU arch -- a revision control system - Bugs: bug #5538, Option to display full-texts for...


bug #5538: Option to display full-texts for added files with show-changeset

Submitter:  Invalid User ID <#23442>
Submitted:  Wed 24 Sep 2003 04:25:14 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Open/Closed:  Open
Fixed Release: 
Merge Request?:  None
Your Archive Name: 
Your Archive Location: 
Assigned to:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sat 08 Nov 2003 11:45:58 AM UTC, comment #1: 

so, no one has pounced... care to submit a patch?

Robert Collins <robertc>
Wed 24 Sep 2003 04:25:14 PM UTC, original submission:  

An option along the lines of diff's --new-file for the various changeset displaying commands would be nice.  Not least so people can send regular unified diffs around based on work in their arch trees, using nothing but "tla what-changed --diffs" and "tla show-changest --diffs", i.e., no intermediate trees.

I can see this being triggered via a flag to arch_print_changeset, and then calling "diff -u --label=orig/path/within/tree/filename.c --label=mod/path/within/tree/filename.c /dev/null path/within/tree/filename.c" on each added file.  diff will neatly handle binary files (by printing "foo is binary" on stderr) and the result will be a shiny new patch.

Perhaps an option to exclude arch control files could be part of this, too, thought filterdiff makes it possibly to achieve this outside tla.

If no one pounces on this, I'll code it up in the next couple of days.

Invalid User ID <#23442>


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.


No changes have been made to this item

Back to the top

Powered by Savane 3.13-12ab.
Corresponding source code