Re: [fossil-users] Parent of the very first checkin?

2013-12-21 Thread Stephan Beal
On Sat, Dec 21, 2013 at 5:54 AM, Andy Bradford amb-fos...@bradfords.orgwrote: perhaps the root:trunk symbolic name would find it, but I was wrong. It finds c06edd231fc15d145a1c96c39b8fecdb79b33523 which is apparently where the current trunk began from a branch. Here's a workaround:

Re: [fossil-users] Parent of the very first checkin?

2013-12-21 Thread Jan Nijtmans
2013/12/21 Stephan Beal sgb...@googlemail.com: On Sat, Dec 21, 2013 at 5:54 AM, Andy Bradford amb-fos...@bradfords.org wrote: perhaps the root:trunk symbolic name would find it, but I was wrong. It finds c06edd231fc15d145a1c96c39b8fecdb79b33523 which is apparently where the current trunk

Re: [fossil-users] Parent of the very first checkin?

2013-12-21 Thread David Given
On 21/12/13 09:30, Stephan Beal wrote: select uuid from blob order by rid limit 1; Oh, hadn't thought of that. Very nice. I'm writing a script to manipulate someone else's repository, so tagging it myself isn't an option --- I have to work with default functionality only. Right now I'm using

Re: [fossil-users] Parent of the very first checkin?

2013-12-21 Thread j. van den hoff
On Sat, 21 Dec 2013 05:54:24 +0100, Andy Bradford amb-fos...@bradfords.org wrote: Thus said Richard Hipp on Fri, 20 Dec 2013 19:05:07 -0500: http://www.fossil-scm.org/fossil/info/a28c83647d Is there a command line option that will find this artifact? I thought perhaps the root:trunk

Re: [fossil-users] Parent of the very first checkin?

2013-12-21 Thread Andy Bradford
Thus said Stephan Beal on Sat, 21 Dec 2013 10:30:57 +0100: [stephan@host:~/cvs/fossil/fossil]$ echo 'select uuid from blob order by rid limit 1;' | f sqlite3 a28c83647dfa805f05f3204a7e146eb1f0d90505 Ok, I assumed it would involve finding the first rid, but wasn't certain that this was right.

Re: [fossil-users] Parent of the very first checkin?

2013-12-20 Thread Richard Hipp
Every repository as an initial check-in which is empty. But it always has a different SHA1 hash, since it also includes the timestamp from when the repository was created. Example: http://www.fossil-scm.org/fossil/info/a28c83647d And the actual text of the manifest artifact:

Re: [fossil-users] Parent of the very first checkin?

2013-12-20 Thread Richard Hipp
On Fri, Dec 20, 2013 at 7:27 PM, David Given d...@cowlark.com wrote: On 21/12/13 00:05, Richard Hipp wrote: Every repository as an initial check-in which is empty. But it always has a different SHA1 hash, since it also includes the timestamp from when the repository was created. Is it

Re: [fossil-users] Parent of the very first checkin?

2013-12-20 Thread Andy Bradford
Thus said Richard Hipp on Fri, 20 Dec 2013 19:05:07 -0500: http://www.fossil-scm.org/fossil/info/a28c83647d Is there a command line option that will find this artifact? I thought perhaps the root:trunk symbolic name would find it, but I was wrong. It finds

Re: [fossil-users] Parent of the very first checkin?

2013-12-20 Thread B Harder
If I understand what you're looking for (first empty commit?), when I asked this question some time ago, somebody suggested I just tag it myself. Simple solution, Just Works. On Dec 20, 2013 8:54 PM, Andy Bradford amb-fos...@bradfords.org wrote: Thus said Richard Hipp on Fri, 20 Dec 2013

Re: [fossil-users] Parent of the very first checkin?

2013-12-20 Thread Matt Welland
How is what you are looking for different from checking out the very first node in your tree, the initial empty check-in? I used to do what you are describing quite extensively when I used monotone. But with monotone it was easy to sync a subset of branches or revision trees from one repo to