[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] getting the diff represented by a revision name
From: |
Mikhael Goikhman |
Subject: |
Re: [Gnu-arch-users] getting the diff represented by a revision name |
Date: |
Thu, 21 Apr 2005 04:05:51 +0000 |
User-agent: |
Mutt/1.4.2.1i |
On 21 Apr 2005 03:31:12 +0200, martin f krafft wrote:
>
> also sprach John A Meinel <address@hidden> [2005.04.20.2331 +0200]:
> > baz get-changeset foobar--main--0--patch-4 ,p4
>
> Mh, I was actually aware of this, but was wondering if there was
> a way to do this without the temporary directory.
I often run "archeye foobar--main--0--patch-4" to review changeset diffs.
Or, if you need automation (and I happen to know you have archzoom
installed), then the following may do what you want:
archzoom.cgi archive/foobar--main--0--patch-4 'log&download' >cset.diff
Finally, "axp cset dump archive/foobar--main--0--patch-4 >cset.diff" also
dumps this output (log+diffs). For perl users, its implementation is:
$session = new Arch::Session;
$session->working_name('archive/foobar--main--0--patch-4');
print $session->get_log->get_message;
print $session->get_changeset->join_all_diffs;
P.S. And if we speak about new axp, then you may also take a look at its
commit notification system "axp triggers", for your original problem.
Regards,
Mikhael.