svnmerge init on py3k branch fails..
I had to reinstall my OS recently and I checked out pristine copies of trunk,py3k,release26-maint,release31-maint.
While svnmerge.py init on release26-maint and release31-maint worked fine and I was able to merge a revision to release26-maint.
On py3k, the svn init gave the following problem.
$ python svnmerge.py init svnmerge: command execution failed (exit code: 1) svn --non-interactive info "svn+ssh://pythondev@svn.python.org/python/branches/py3k-struni" svn+ssh://pythondev@svn.python.org/python/branches/py3k-struni: (Not a valid URL)
svn: A problem occurred; see other errors for details
What's the problem? How do I resolve it?
-- Senthil
Le mardi 23 mars 2010 10:42:00, Senthil Kumaran a écrit :
I had to reinstall my OS recently and I checked out pristine copies of trunk,py3k,release26-maint,release31-maint.
While svnmerge.py init on release26-maint and release31-maint worked fine and I was able to merge a revision to release26-maint.
On py3k, the svn init gave the following problem.
Why are you using svn init? It was already done in all branches.
-- Victor Stinner http://www.haypocalc.com/
On Tue, Mar 23, 2010 at 3:57 PM, Victor Stinner victor.stinner@haypocalc.com wrote:
Why are you using svn init? It was already done in all branches.
I had this understanding that, while using svnmerge.py you might to do one-time operation on svnmerge.py init on local repo and then do the svnmerge.py merge -r xxx http://www.python.org/dev/faq/#how-do-i-prepare-a-new-branch-for-merging
Looks like I am wrong.
Now that i have done it release26-maint and release31-maint, does it create any problem? Also, should we just ignore the original problem of (py3k-struni URL)?
-- Senthil
Le mardi 23 mars 2010 12:00:15, vous avez écrit :
On Tue, Mar 23, 2010 at 3:57 PM, Victor Stinner
victor.stinner@haypocalc.com wrote:
Why are you using svn init? It was already done in all branches.
I had this understanding that, while using svnmerge.py you might to do one-time operation on svnmerge.py init on local repo and then do the svnmerge.py merge -r xxx http://www.python.org/dev/faq/#how-do-i-prepare-a-new-branch-for-merging
"You need to initialize a *new branch* ...": release26-maint and release31- maint are not new branches ;-)
Now that i have done it release26-maint and release31-maint, does it create any problem?
svnmerge.py uses two 2 properties (svnmerge-blocked and svnmerge-integrated) on the directory.
Let's try on a fresh release26-maint checkout:
$ svn pl . Propriétés sur '.' svn:ignore svnmerge-blocked svnmerge-integrated svk:merge
$ svn pg svnmerge-integrated . /python/trunk:1-66720,66723-66743,66746-66751,66753-66755,...,79311,79325,79329
$ svn pg svnmerge-blocked . /python/trunk:66721-66722,66744-66745,...,79208,79294
It's look like the repository is ok. If you loose and cleared these properties in your local checkout, use "svn revert ." to restore the properties.
-- Victor Stinner http://www.haypocalc.com/
Victor Stinner wrote:
It's look like the repository is ok.
I confirmed this by looking at what Senthil's commit actually did on the Python 2.6 branch - it just added some redundant info to the beginning of the svnmerge-integrated property.
As that redundant info is no longer present, I expect svnmerge cleared it out on a subsequent merge command.
I'm not sure if there should be any change in the wording of the FAQ entry for this - maybe expanding on the last sentence a bit?
Current: "This is a one-time operation." Possible change: "This is a one-time operation (i.e. only when the branch is originally created, not when each developer creates a local checkout for the branch)."
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
On Wed, 24 Mar 2010 01:13:54 +1000, Nick Coghlan ncoghlan@gmail.com wrote:
I'm not sure if there should be any change in the wording of the FAQ entry for this - maybe expanding on the last sentence a bit?
Current: "This is a one-time operation." Possible change: "This is a one-time operation (i.e. only when the branch is originally created, not when each developer creates a local checkout for the branch)."
+1. I was bitten by this when I first started, and I think your proposed wording explains it well and would have kept me from making a mistake.
-- R. David Murray www.bitdance.com
On Tue, Mar 23, 2010 at 11:13 AM, Nick Coghlan ncoghlan@gmail.com wrote:
I'm not sure if there should be any change in the wording of the FAQ entry for this - maybe expanding on the last sentence a bit?
Could we put a commit hook to prevent committing unintentional "svnmerge.py init"?
-- Alexandre
Alexandre Vassalotti wrote:
On Tue, Mar 23, 2010 at 11:13 AM, Nick Coghlan ncoghlan@gmail.com wrote:
I'm not sure if there should be any change in the wording of the FAQ entry for this - maybe expanding on the last sentence a bit?
Could we put a commit hook to prevent committing unintentional "svnmerge.py init"?
At this point it's probably not worth putting more effort into svn infrastructure.
-- Eric.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 03/23/2010 04:13 PM, Nick Coghlan wrote:
I'm not sure if there should be any change in the wording of the FAQ entry for this - maybe expanding on the last sentence a bit?
Current: "This is a one-time operation." Possible change: "This is a one-time operation (i.e. only when the branch is originally created, not when each developer creates a local checkout for the branch)."
I "perpetrated" the same error a couple of years ago. Fortunatelly I saw the issue before committing. So, yes, some clarification is needed.
Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea@jcea.es - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea@jabber.org _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iQCVAwUBS6kD3Jlgi5GaxT1NAQKmOQP8D9X7w0hhH9rtE6Rfn5QwEHvbI2G+elYl QaOcYHVXWIHQn+nFoPfalT/yu3FLQ4zSpSQARIum9hsgE7yNic6RNfYBHZvs+joE 1gTPjUMCFrHyc5h9BPRmIrOdcsS1TDz00BEs2DIejZ1bPjk/RbaoHA0U1O/g7Pme rVrONLBsKxI= =xTdq -----END PGP SIGNATURE-----
On Tue, Mar 23, 2010 at 08:13, Nick Coghlan ncoghlan@gmail.com wrote:
Victor Stinner wrote:
It's look like the repository is ok.
I confirmed this by looking at what Senthil's commit actually did on the Python 2.6 branch - it just added some redundant info to the beginning of the svnmerge-integrated property.
As that redundant info is no longer present, I expect svnmerge cleared it out on a subsequent merge command.
I'm not sure if there should be any change in the wording of the FAQ entry for this - maybe expanding on the last sentence a bit?
Current: "This is a one-time operation." Possible change: "This is a one-time operation (i.e. only when the branch is originally created, not when each developer creates a local checkout for the branch)."
Done.
-Brett
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia
python-committers mailing list python-committers@python.org http://mail.python.org/mailman/listinfo/python-committers
participants (8)
-
Alexandre Vassalotti
-
Brett Cannon
-
Eric Smith
-
Jesus Cea
-
Nick Coghlan
-
R. David Murray
-
Senthil Kumaran
-
Victor Stinner