Re: [fossil-users] How to limit fossil diff output to just names of the changed files?
On Wed, Feb 01, 2012 at 05:22:53AM -0500, Leo Razoumov wrote: $ fossil clone http://www.fossil-scm.org/ fossil.fos $ fossil set diff-command 'diff $DIFFPARAMS' -R fossil.fos $ DIFFPARAMS='-q' fossil diff --from version-1.20 --to version-1.21 -R fossil.fos produces Files /var/tmp/TOVfAuDTszthuDY and /var/tmp/FdEbKPAZ0uv66ad differ Files /var/tmp/FDjccX0cYFeqRl4 and /var/tmp/lqsmmIbXyNVtinB differ Files /var/tmp/6mOoNpHpm360YzI and /var/tmp/P5R9MqHCWsOmqcr differ ... Exernal diff is being called on temporary files in /var/tmp with non-descriptive names. I am using fossil-1.21 on Linux. Is it a bug or I am doing something wrong? That's normal - fossil does not overwrite checked out files on diff. What if you keep on with the fossil internal diff command, and run: $ fossil diff --from xxx --to yyy | grep Index That's what I'm using now that I needed this feature. Regards, Lluís. ___ 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 limit fossil diff output to just names of the changed files?
Why not using 'fossil change'? Or am I missing the point? Regards Hein Am 02.02.2012 18:35, schrieb Leo Razoumov: 2012/2/2 Lluís Batlle i Rossellvi...@viric.name: What if you keep on with the fossil internal diff command, and run: $ fossil diff --from xxx --to yyy | grep Index That's what I'm using now that I needed this feature. As a poor man's solution, I am using $ fossil diff -i --from xx --to yy | egrep '^(DELETED|MISSING|ADDED|Index:)' to catch all the changes. Of course, fossil labors heavily to produce the actual changes which are then promptly discarded. --Leo-- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- Heinrich Huss PSH Consulting GmbH Am Gewerbepark 10 64823 Groß-Umstadt Phone+49 6078 931 6455 Fax +49 6078 96 9536 Mobile +49 171 43 46 773 e-mailheinrich.h...@psh-consulting.de *** PSH Consulting GmbH Legal Disclaimer *** Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich vollständig zu löschen und uns eine Nachricht zukommen zu lassen. This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Hauptsitz: Magdeburger Strasse 1, D-64720 Michelstadt, USt-IdNr.: DE 21 117 1171 Kommunikation: Telefon +49 6078 931 6455, Telefax +49 6078 96 95 36, www.psh-consulting.de Handelsregister: Amtsgericht Darmstadt, HRB 71404 Geschäftsführer: Heinrich Huss, Thomas Riedl ___ 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 limit fossil diff output to just names of the changed files?
He wants diffs between two versions, not between the last commit and the current files. Bill On Thu, Feb 2, 2012 at 2:32 PM, Heinrich Huss heinrich.h...@psh-consulting.de wrote: Why not using 'fossil change'? Or am I missing the point? Regards Hein Am 02.02.2012 18:35, schrieb Leo Razoumov: 2012/2/2 Lluís Batlle i Rossellvi...@viric.name: What if you keep on with the fossil internal diff command, and run: $ fossil diff --from xxx --to yyy | grep Index That's what I'm using now that I needed this feature. As a poor man's solution, I am using $ fossil diff -i --from xx --to yy | egrep '^(DELETED|MISSING|ADDED|** Index:)' to catch all the changes. Of course, fossil labors heavily to produce the actual changes which are then promptly discarded. --Leo-- __**_ fossil-users mailing list fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/** fossil-usershttp://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- Heinrich Huss PSH Consulting GmbH Am Gewerbepark 10 64823 Groß-Umstadt Phone+49 6078 931 6455 Fax +49 6078 96 9536 Mobile +49 171 43 46 773 e-mailheinrich.huss@psh-consulting.**deheinrich.h...@psh-consulting.de *** PSH Consulting GmbH Legal Disclaimer *** Diese E-Mail einschließlich ihrer Anhänge ist vertraulich und ist allein für den Gebrauch durch den vorgesehenen Empfänger bestimmt. Dritten ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir bitten, eine fehlgeleitete E-Mail unverzüglich vollständig zu löschen und uns eine Nachricht zukommen zu lassen. This email may contain material that is confidential and for the sole use of the intended recipient. Any review, distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Hauptsitz: Magdeburger Strasse 1, D-64720 Michelstadt, USt-IdNr.: DE 21 117 1171 Kommunikation: Telefon +49 6078 931 6455, Telefax +49 6078 96 95 36, www.psh-consulting.de Handelsregister: Amtsgericht Darmstadt, HRB 71404 Geschäftsführer: Heinrich Huss, Thomas Riedl __**_ fossil-users mailing list fossil-users@lists.fossil-scm.**org fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:**8080/cgi-bin/mailman/listinfo/**fossil-usershttp://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 limit fossil diff output to just names of the changed files?
On Tue, Jan 31, 2012 at 21:30, Matt Welland estifo...@gmail.com wrote: fossil could do with a little more power on the command line. Passing remaining parameters to diff would be useful. Here is a crude work around for you: $ fossil set diff-command 'diff $DIFFPARAMS' $ DIFFPARAMS='-q' fossil diff -r 7ad3e Matt, under close inspection the output of the external diff -q is pretty much useless. $ fossil clone http://www.fossil-scm.org/ fossil.fos $ fossil set diff-command 'diff $DIFFPARAMS' -R fossil.fos $ DIFFPARAMS='-q' fossil diff --from version-1.20 --to version-1.21 -R fossil.fos produces Files /var/tmp/TOVfAuDTszthuDY and /var/tmp/FdEbKPAZ0uv66ad differ Files /var/tmp/FDjccX0cYFeqRl4 and /var/tmp/lqsmmIbXyNVtinB differ Files /var/tmp/6mOoNpHpm360YzI and /var/tmp/P5R9MqHCWsOmqcr differ ... Exernal diff is being called on temporary files in /var/tmp with non-descriptive names. I am using fossil-1.21 on Linux. Is it a bug or I am doing something wrong? --Leo-- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] How to limit fossil diff output to just names of the changed files?
Hi All, I am a new Fossil SCM user and it is my first posting to this mailing list. Please, forgive me if what I am asking has been discussed and answered here before. When I do sh$ fossil diff --from ver1 --to ver2 I get the entire contextual diff of the changes between the said commits. How could I get only the _names_ of the changed files _without_ contextual differences? Something like git diff --name-status or git diff --name-only. I know I can see the list of the names of changed files via fossil ui but I prefer to list the files using fossil command line interface, for I can grep the output further. --Leo-- ___ 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 limit fossil diff output to just names of the changed files?
Try 'fossil changes' Cheers, Jacek 2012/1/31 Leo Razoumov slonik...@gmail.com: Hi All, I am a new Fossil SCM user and it is my first posting to this mailing list. Please, forgive me if what I am asking has been discussed and answered here before. When I do sh$ fossil diff --from ver1 --to ver2 I get the entire contextual diff of the changes between the said commits. How could I get only the _names_ of the changed files _without_ contextual differences? Something like git diff --name-status or git diff --name-only. I know I can see the list of the names of changed files via fossil ui but I prefer to list the files using fossil command line interface, for I can grep the output further. --Leo-- ___ 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 limit fossil diff output to just names of the changed files?
On Tue, Jan 31, 2012 at 06:46:14PM +, Jacek Cała wrote: Try 'fossil changes' Well, that will not tell the changes between versions. Maybe it could be written to tell that, though, with options like fossil diff. 2012/1/31 Leo Razoumov slonik...@gmail.com: Hi All, I am a new Fossil SCM user and it is my first posting to this mailing list. Please, forgive me if what I am asking has been discussed and answered here before. When I do sh$ fossil diff --from ver1 --to ver2 I get the entire contextual diff of the changes between the said commits. How could I get only the _names_ of the changed files _without_ contextual differences? Something like git diff --name-status or git diff --name-only. I know I can see the list of the names of changed files via fossil ui but I prefer to list the files using fossil command line interface, for I can grep the output further. --Leo-- ___ 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 ___ 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 limit fossil diff output to just names of the changed files?
On Tue, Jan 31, 2012 at 11:41 AM, Leo Razoumov slonik...@gmail.com wrote: Hi All, I am a new Fossil SCM user and it is my first posting to this mailing list. Please, forgive me if what I am asking has been discussed and answered here before. When I do sh$ fossil diff --from ver1 --to ver2 I get the entire contextual diff of the changes between the said commits. How could I get only the _names_ of the changed files _without_ contextual differences? Something like git diff --name-status or git diff --name-only. I know I can see the list of the names of changed files via fossil ui but I prefer to list the files using fossil command line interface, for I can grep the output further. fossil could do with a little more power on the command line. Passing remaining parameters to diff would be useful. Here is a crude work around for you: $ fossil set diff-command 'diff $DIFFPARAMS' $ DIFFPARAMS='-q' fossil diff -r 7ad3e --Leo-- ___ 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 limit fossil diff output to just names of the changed files?
On Tue, Jan 31, 2012 at 6:30 PM, Matt Welland estifo...@gmail.com wrote: On Tue, Jan 31, 2012 at 11:41 AM, Leo Razoumov slonik...@gmail.comwrote: Hi All, I am a new Fossil SCM user and it is my first posting to this mailing list. Please, forgive me if what I am asking has been discussed and answered here before. When I do sh$ fossil diff --from ver1 --to ver2 I get the entire contextual diff of the changes between the said commits. How could I get only the _names_ of the changed files _without_ contextual differences? Something like git diff --name-status or git diff --name-only. Isn't that what fos status is for? Or am I missing something? --Russ P. -- http://RussP.us ___ 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 limit fossil diff output to just names of the changed files?
On Tue, Jan 31, 2012 at 21:30, Matt Welland estifo...@gmail.com wrote: fossil could do with a little more power on the command line. Passing remaining parameters to diff would be useful. Here is a crude work around for you: $ fossil set diff-command 'diff $DIFFPARAMS' $ DIFFPARAMS='-q' fossil diff -r 7ad3e Matt, thanks! This is a very clever trick! --Leo-- ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users