[fossil-users] Alias for first initial empty checkin?
Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] ? -bch -- Brad Harder Method Logic Digital Consulting http://twitter.com/bcharder ___ 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] Alias for first initial empty checkin?
On Tue, Jul 16, 2013 at 12:21 AM, B Harder brad.har...@gmail.com wrote: Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] There is a way to do it but you have to know the timeframe when the repo was started, e.g.: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' === 2007-07-21 === 14:10:57 [dbda8d6ce9] Initial check-in of m1 sources. (user: drh tags: trunk) 14:09:59 [a28c83647d] initial empty baseline (user: drh tags: trunk) interestingly, the above fails if i enter 14:10:00 as the time, though the first commit happened 1 second before that, but let's just call that a rare corner case and ignore it ;). (No, i didn't know the time of the first commit - i had to go search for it ;) So we end up with this: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' | tail -1 | cut -d'[' -f2 | cut -d']' -f1 a28c83647d or: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' | tail -1 | cut -d' ' -f2 [a28c83647d] depending on what format you want. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] Alias for first initial empty checkin?
On Tue, Jul 16, 2013 at 12:53 AM, Stephan Beal sgb...@googlemail.comwrote: === 2007-07-21 === 14:10:57 [dbda8d6ce9] Initial check-in of m1 sources. (user: drh tags: trunk) 14:09:59 [a28c83647d] initial empty baseline (user: drh tags: trunk) PS: fossil turns 6 next week! -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] Alias for first initial empty checkin?
On 7/15/13, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jul 16, 2013 at 12:21 AM, B Harder brad.har...@gmail.com wrote: Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] There is a way to do it but you have to know the timeframe when the repo was started, e.g.: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' === 2007-07-21 === 14:10:57 [dbda8d6ce9] Initial check-in of m1 sources. (user: drh tags: trunk) 14:09:59 [a28c83647d] initial empty baseline (user: drh tags: trunk) I'm using this to make (eg) vendor branches that I don't want to remain pure (ie: not related to history of whatever current branch I'm on). Do other people do this? Is there a call for giving the initial commit a non-sticky ci0 tag or such? -bch interestingly, the above fails if i enter 14:10:00 as the time, though the first commit happened 1 second before that, but let's just call that a rare corner case and ignore it ;). (No, i didn't know the time of the first commit - i had to go search for it ;) So we end up with this: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' | tail -1 | cut -d'[' -f2 | cut -d']' -f1 a28c83647d or: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' | tail -1 | cut -d' ' -f2 [a28c83647d] depending on what format you want. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal -- Brad Harder Method Logic Digital Consulting http://www.methodlogic.net/ http://twitter.com/bcharder ___ 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] Alias for first initial empty checkin?
** s/don't want to remain pure/want to remain pure/. On 7/15/13, B Harder brad.har...@gmail.com wrote: On 7/15/13, Stephan Beal sgb...@googlemail.com wrote: On Tue, Jul 16, 2013 at 12:21 AM, B Harder brad.har...@gmail.com wrote: Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] There is a way to do it but you have to know the timeframe when the repo was started, e.g.: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' === 2007-07-21 === 14:10:57 [dbda8d6ce9] Initial check-in of m1 sources. (user: drh tags: trunk) 14:09:59 [a28c83647d] initial empty baseline (user: drh tags: trunk) I'm using this to make (eg) vendor branches that I don't want to remain pure (ie: not related to history of whatever current branch I'm on). Do other people do this? Is there a call for giving the initial commit a non-sticky ci0 tag or such? -bch interestingly, the above fails if i enter 14:10:00 as the time, though the first commit happened 1 second before that, but let's just call that a rare corner case and ignore it ;). (No, i didn't know the time of the first commit - i had to go search for it ;) So we end up with this: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' | tail -1 | cut -d'[' -f2 | cut -d']' -f1 a28c83647d or: stephan@tiny:~/cvs/fossil/fossil$ f timeline before '2007-07-21 14:11:00' | tail -1 | cut -d' ' -f2 [a28c83647d] depending on what format you want. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal -- Brad Harder Method Logic Digital Consulting http://www.methodlogic.net/ http://twitter.com/bcharder -- Brad Harder Method Logic Digital Consulting http://www.methodlogic.net/ http://twitter.com/bcharder ___ 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] Alias for first initial empty checkin?
Le 15 juil. 2013 18:21, B Harder brad.har...@gmail.com a écrit : Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] ? You can tag the initial commit if it's important for you. So you just have the trouble to seek for the sha1 code once. -- Martin G. ___ 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] Alias for first initial empty checkin?
On Mon, Jul 15, 2013 at 03:21:54PM -0700, B Harder wrote: Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] ? -bch I got it.. what you want is: fossil up root:trunk The prefix root: will get the root a of branch.. the root of the trunk is the initial check-in.. -- Martin G. ___ 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] Alias for first initial empty checkin?
On 7/15/13, Martin Gagnon eme...@gmail.com wrote: Le 15 juil. 2013 18:21, B Harder brad.har...@gmail.com a écrit : Is there a: $ fossil co initial_ci Command/workalike available, or am I left to: $ fossil timel -n | tail [copy SHA1] $ fossil co [paste SHA1] ? You can tag the initial commit if it's important for you. So you just have the trouble to seek for the sha1 code once. You're right. :) -bch -- Martin G. -- Brad Harder Method Logic Digital Consulting http://www.methodlogic.net/ http://twitter.com/bcharder ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users