Wed May 3 14:04:44 PDT 2006 Brendan Cully <[EMAIL PROTECTED]>
* hglib.py -> hg.py implies HglibWorkingDir -> HgWorkingDir
Wed May 3 14:05:11 PDT 2006 Brendan Cully <[EMAIL PROTECTED]>
* Query hg for default options
hg looks up command options from the argument without trapping
KeyError. So whenever an option is added to an hg command, tailor
backtraces until it's been taught to pass in the new option. This
patch queries hg for the set of options for all commands, which
should provide some protection against this particular problem.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
New patches:
[hglib.py -> hg.py implies HglibWorkingDir -> HgWorkingDir
Brendan Cully <[EMAIL PROTECTED]>**20060503210444] {
hunk ./vcpx/hg.py 20
- -class HglibWorkingDir(UpdatableSourceWorkingDir, SyncronizableTargetWorkingDir):
+class HgWorkingDir(UpdatableSourceWorkingDir, SyncronizableTargetWorkingDir):
}
[Query hg for default options
Brendan Cully <[EMAIL PROTECTED]>**20060503210511
hg looks up command options from the argument without trapping
KeyError. So whenever an option is added to an hg command, tailor
backtraces until it's been taught to pass in the new option. This
patch queries hg for the set of options for all commands, which
should provide some protection against this particular problem.
] {
hunk ./vcpx/hg.py 43
+ opts = self._defaultOpts('clone')
hunk ./vcpx/hg.py 45
- - noupdate=True, ssh=None, remotecmd=None, pull=None,
- - rev=None)
+ **opts)
hunk ./vcpx/hg.py 70
+ opts = self._defaultOpts('pull')
hunk ./vcpx/hg.py 72
- - commands.pull(repo.ui, repo, "default", ssh=None, remotecmd=None,
- - update=None, rev=None)
+ commands.pull(repo.ui, repo, "default", **opts)
}
Context:
[TAG Version 0.9.22
[EMAIL PROTECTED]
Patch bundle hash:
73042712f04e40a27a56e8c90aed0f764f790f88
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFEWR5LIigsijWFMDIRAtSXAJ0YPJNfimjRnbUgI6ZJpr7jCFBCQwCdHsg6
zEY1i2L7rmVyKFSoH33CAho=
=VjxZ
-----END PGP SIGNATURE-----
_______________________________________________
Tailor mailing list
[email protected]
http://lists.zooko.com/mailman/listinfo/tailor