Re: [Python-Dev] hg verify warnings

2013-08-21 Thread Armin Rigo
Hi Tim,

On Tue, Aug 20, 2013 at 5:12 PM, Tim Peters tim.pet...@gmail.com wrote:
 Try running hg verify -v - these warnings only appear when verify is
 run in verbose mode.

Indeed.  Ignore what I said then about a broken copy of the
repository: any copy will show these three warnings, and they can be
safely ignored it seems.


A bientôt,

Armin.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2013-08-20 Thread Armin Rigo
Hi Tim,

On Tue, Aug 20, 2013 at 1:48 AM, Tim Peters tim.pet...@gmail.com wrote:
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733
 warning: copy source of 'Objects/bytesobject.c' not in parents of 
 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f

I've seen this once already (with another big repository).  The
problem I had was only these warnings when running hg verify, and it
was fixed by simply checking out a new copy of the repository.  It
seems that you have the same problem: for example my own copy of
CPython doesn't show any warning in hg verify.

I've deleted my slightly-broken repo by then (as it was already
several years old I suspected an old version of mercurial).  Maybe I
shouldn't have.  How about you send your repository to the Mercurial
bug tracker?


A bientôt,

Armin.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2013-08-20 Thread Tim Peters
[Tim]
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733
 warning: copy source of 'Objects/bytesobject.c' not in parents of 
 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f

[Armin]
 I've seen this once already (with another big repository).  The
 problem I had was only these warnings when running hg verify, and it
 was fixed by simply checking out a new copy of the repository.  It
 seems that you have the same problem: for example my own copy of
 CPython doesn't show any warning in hg verify.

Try running hg verify -v - these warnings only appear when verify is
run in verbose mode.


 I've deleted my slightly-broken repo by then (as it was already
 several years old I suspected an old version of mercurial).  Maybe I
 shouldn't have.  How about you send your repository to the Mercurial
 bug tracker?

Other people already have, for other projects.  The developers don't
care much; e.g.,

http://permalink.gmane.org/gmane.comp.version-control.mercurial.general/23195
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2013-08-19 Thread Tim Peters
 ...
 $ hg verify
 repository uses revlog format 1
 checking changesets
 checking manifests
 crosschecking files in changesets and manifests
 checking files
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733
 warning: copy source of 'Objects/bytesobject.c' not in parents of 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f
 9799 files, 79660 changesets, 176851 total revisions
 3 warnings encountered!


 $ hg --version
 Mercurial Distributed SCM (version 2.3.2)
 (see http://mercurial.selenic.com for more information)

FYI, I found this kind of warning in my own (non-Python) repository,
created from scratch just a few weeks ago, so it's NOT necessarily the
case that this has something to do with using ancient hg releases.  I
was teaching myself hg at the time, and suspect I did something hg
didn't expect 0.5 wink.  Here's a tiny repository that displays the
same kind of thing:

Make a new repository (this is on Windows - does it matter? doubt it):

C:\hg init HHH

C:\cd HHH

Hg is up to date (2.7):

C:\HHHhg version
Mercurial Distributed SCM (version 2.7)
(see http://mercurial.selenic.com for more information)
...

Make a subdirectory and add a file:

C:\HHHmkdir sub

C:\HHHcd sub

C:\HHH\subecho a  a.txt

C:\HHH\subhg add
adding a.txt

C:\HHH\subhg ci -m initial

Move the file up a level:

C:\HHH\subhg move a.txt ..

Now here's the funky part!  Unsure about what was going on in my own
repository, so doing as little as possible per step, I committed the
move in _2_ steps (do a plain hg ci at this point and nothing goes
wrong).  So first I recorded that the subdirectory a.txt is gone:

C:\HHH\subhg ci a.txt -m moving

Then up to the parent directory, and commit the new location of a.txt:

C:\HHH\subcd ..

C:\HHHhg st
A a.txt

C:\HHHhg ci -m moving

Now verify -v complains:

C:\HHHhg verify -v
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
warning: copy source of 'a.txt' not in parents of 9c2205c187bf
2 files, 3 changesets, 2 total revisions
1 warnings encountered!

What the warning says seems to me to be true:

C:\HHHhg log
changeset:   2:9c2205c187bf
tag: tip
user:Tim Peters t...@python.org
date:Mon Aug 19 12:24:43 2013 -0500
summary: moving

changeset:   1:60fffa9b0194
user:Tim Peters t...@python.org
date:Mon Aug 19 12:24:26 2013 -0500
summary: moving

changeset:   0:0193842498ab
user:Tim Peters t...@python.org
date:Mon Aug 19 12:24:05 2013 -0500
summary: initial

The parent of 2 (9c2205c187bf) is 1 (60fffa9b0194), and indeed the
copy _source_ (HHH\sub\a.txt) was removed by changeset 1.  Why that
could be bad escapes me, though.

Regardless, I suspect Python's warnings came from similarly overly
elaborate learning-curve workflow, and are harmless.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2013-08-19 Thread Tim Peters
 ...
 $ hg verify
 repository uses revlog format 1
 checking changesets
 checking manifests
 crosschecking files in changesets and manifests
 checking files
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733
 warning: copy source of 'Objects/bytesobject.c' not in parents of 
 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f
 9799 files, 79660 changesets, 176851 total revisions
 3 warnings encountered!


 $ hg --version
 Mercurial Distributed SCM (version 2.3.2)
 (see http://mercurial.selenic.com for more information)

[Tim, reproduces this kind of warning in a 1-file repository, via
 moving the file, then committing the removal of the old location
 before committing the addition of the new location]

 ...
 Regardless, I suspect Python's warnings came from similarly overly
 elaborate learning-curve workflow,

Nope!  At least not for _threadmodule.c:  that got renamed in a single
commit (7fe3a8648ce2), and I don't see anything fishy about, or
around, it.

I gave up on tracing back bytesobject.c/stringobject.c, because not
only did one get renamed to the other, later it got renamed back
again.


 and are harmless.

I still expect they're harmless, albeit without a shred of evidence ;-)
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] hg verify warnings

2012-10-10 Thread Khalid Abu Bakr
Hello. Running hg verify on a newly checked out cpython repo on Windows Vista 
32Bits yields three warnings:



$ hg verify
repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
warning: copy source of 'Modules/_threadmodule.c' not in parents of 60ad83716733

warning: copy source of 'Objects/bytesobject.c' not in parents of 64bb1d258322
warning: copy source of 'Objects/stringobject.c' not in parents of 357e268e7c5f
9799 files, 79660 changesets, 176851 total revisions
3 warnings encountered!


$ hg --version
Mercurial Distributed SCM (version 2.3.2)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


I have checked out and tried to verify the cloned repo twice with the same 
results. So is this serious? Or can these warnings be safely ignored?

Thanks.
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2012-10-10 Thread Chris Jerdonek
On Wed, Oct 10, 2012 at 9:46 PM, Khalid Abu Bakr kha...@yahoo.com wrote:
 Hello. Running hg verify on a newly checked out cpython repo on Windows Vista 
 32Bits yields three warnings:

 $ hg verify
 repository uses revlog format 1
 checking changesets
 checking manifests
 crosschecking files in changesets and manifests
 checking files
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733

 warning: copy source of 'Objects/bytesobject.c' not in parents of 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f
 9799 files, 79660 changesets, 176851 total revisions
 3 warnings encountered!

There was a thread about this a couple months ago on python-dev:

http://mail.python.org/pipermail/python-dev/2012-August/121390.html

 I have checked out and tried to verify the cloned repo twice with the same 
 results. So is this serious? Or can these warnings be safely ignored?

From the thread, it didn't seem like there was a need for corrective
action, so I believe the latter.

--Chris
___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


[Python-Dev] hg verify warnings

2012-08-19 Thread Stefan Krah
Hello,

In a fresh clone, I'm getting a couple of warnings in `hg verify`. Perhaps
someone familiar with Mercurial could take a brief look:

repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
warning: copy source of 'Modules/_threadmodule.c' not in parents of 60ad83716733
warning: copy source of 'Objects/bytesobject.c' not in parents of 64bb1d258322
warning: copy source of 'Objects/stringobject.c' not in parents of 357e268e7c5f
9754 files, 78648 changesets, 175109 total revisions
3 warnings encountered!



Stefan Krah


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2012-08-19 Thread Antoine Pitrou
On Sun, 19 Aug 2012 11:11:34 +0200
Stefan Krah ste...@bytereef.org wrote:
 Hello,
 
 In a fresh clone, I'm getting a couple of warnings in `hg verify`. Perhaps
 someone familiar with Mercurial could take a brief look:
 
 repository uses revlog format 1
 checking changesets
 checking manifests
 crosschecking files in changesets and manifests
 checking files
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733
 warning: copy source of 'Objects/bytesobject.c' not in parents of 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f
 9754 files, 78648 changesets, 175109 total revisions
 3 warnings encountered!

I don't get that problem on the master server, nor on two other
machines with fresh clones and different hg versions. I suggest you
re-try cloning and, if the issue persists, report it on the Mercurial
mailing-list.

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net


___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2012-08-19 Thread Stefan Krah
Antoine Pitrou solip...@pitrou.net wrote:
  warning: copy source of 'Modules/_threadmodule.c' not in parents of 
  60ad83716733
 
 I don't get that problem on the master server, nor on two other
 machines with fresh clones and different hg versions. I suggest you
 re-try cloning and, if the issue persists, report it on the Mercurial
 mailing-list.

Okay, this only occurs if the ~/.hgrc contains verbose = True.

I found a post from Matt Mackall where he says that this only happens
with repos that were started with now-ancient versions of hg:

http://permalink.gmane.org/gmane.comp.version-control.mercurial.general/23195


So it looks like a known issue, see also:

https://bugzilla.mozilla.org/show_bug.cgi?id=644904



Stefan Krah



___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


Re: [Python-Dev] hg verify warnings

2012-08-19 Thread Martin v. Löwis
 warning: copy source of 'Modules/_threadmodule.c' not in parents of 
 60ad83716733
 warning: copy source of 'Objects/bytesobject.c' not in parents of 64bb1d258322
 warning: copy source of 'Objects/stringobject.c' not in parents of 
 357e268e7c5f

These revisions are all from Benjamin. So I conclude that he was once
using an now-ancient version of hg.

Regards,
Martin

___
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com