Re: [Mutt] #2931: BDB support in header cache broken
#2931: BDB support in header cache broken
Comment (by Brendan Cully):
{{{
On Monday, 16 July 2007 at 19:23, Mutt wrote:
> #2931: BDB support in header cache broken
>
> Comment (by Christoph Ludwig):
>
> {{{
> On Mon, Jul 16, 2007 at 05:09:16PM -0000, Mutt wrote:
> > #2931: BDB support in header cache broken
> > Comment (by Brendan Cully):
> >
> > hg parents will tell you which version is checked out. I think if
> > clone isn't giving you the latest version that's because of a slight
> > mistake I made converting CVS to Hg (I forgot to rename 'HEAD' to
> > 'default'). hg update -C tip will bring you to the latest version,
and
> > hg update should keep you there. I'll have to fix the branch name
> > problem.
>
> I just did the following:
>
> castellio:~/hg-repos cludwig$ hg clone http://dev.mutt.org/hg/mutt
> mutt_public_repository
> requesting all changes
> adding changesets
> adding manifests
> adding file changes
> added 5192 changesets with 15396 changes to 514 files (+8 heads)
> 369 files updated, 0 files merged, 0 files removed, 0 files
unresolved
> castellio:~/hg-repos cludwig$ cd mutt_public_repository/
> castellio:~/hg-repos/mutt_public_repository cludwig$ hg log -r tip
> changeset: 5191:bd75134a6b65
> branch: HEAD
> tag: tip
> user: Brendan Cully <brendan@xxxxxxxxxx>
> date: Mon Jul 16 10:46:49 2007 -0700
> summary: Make is_shell_char static. Closes #2907.
>
> castellio:~/hg-repos/mutt_public_repository cludwig$ hg parents
> changeset: 5034:f467353f5657
> user: Brendan Cully <brendan@xxxxxxxxxx>
> date: Sat Mar 31 18:50:39 2007 -0700
> summary: Add tmp flag to bcache_put, create bcache_commit.
>
> castellio:~/hg-repos/mutt_public_repository cludwig$ hg update -C
> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
> castellio:~/hg-repos/mutt_public_repository cludwig$ hg parents
> changeset: 5034:f467353f5657
> user: Brendan Cully <brendan@xxxxxxxxxx>
> date: Sat Mar 31 18:50:39 2007 -0700
> summary: Add tmp flag to bcache_put, create bcache_commit.
>
> Unless I misunderstand you, this should give me the most recent mutt.
> However, the call to db_create() is still missing in hcache.c near line
> 1000.
The important bit you missed is you must "hg update -C tip", not "hg
update -C"
hg parents should then show 5191.
}}}
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2931#comment:>