Re: bk equivalent for "cvs diff -rHEAD -N -u"??
Matthias Urlichs <[email protected]> Fri, 15 Oct 2004 22:48:00 +0200
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Organization | {M:U} IT Consulting |
| Message-ID | <[email protected]> |
Hi, Rick Richardson wrote:
> diff -u /dev/null $x |
> sed -e 's@^--- @--- old@' -e 's@^[+][+][+] @+++ new/@'
Less CPU wastage:
diff -u --label /dev/null --label new/$x /dev/null $x
If you insist on using sed (ancient diff?), put the pipe after the
while...done loop; there's no sense in starting yet another process per
file.
--
Matthias Urlichs | {M:U} IT Design @ m-u-it.de | [email protected]
_______________________________________________
Bitkeeper-users mailing list
[email protected]
http://bitmover.com/mailman/listinfo/bitkeeper-users
To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.