List Info

Thread: mercurial-plugin-0.11 needs require updated...




mercurial-plugin-0.11 needs require updated...
user name
2008-01-01 07:25:06
The plugin doesn't load in 0.11b1 because of a version
conflict,
resulting in "Warning: Can't synchronize with the
repository"...  This
changes the version number.

Cheers,
J.

diff -ur mercurial-plugin-0.11/tracext/hg/backend.py
mercurial-
plugin-0.11b1/tracext/hg/backend.py
--- mercurial-plugin-0.11/tracext/hg/backend.py	2008-01-02
05:57:07.000000000 +0900
+++
mercurial-plugin-0.11b1/tracext/hg/backend.py	2008-01-02
06:45:48.469314813 +0900
 -16,7
+16,7 
 import re

 import pkg_resources
-pkg_resources.require('Trac>=0.11dev')
+pkg_resources.require('Trac>=0.11b1')

 from genshi.builder import tag



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Development" group.
To post to this group, send email to trac-devgooglegroups.com
To unsubscribe from this group, send email to
trac-dev-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: mercurial-plugin-0.11 needs require updated...
user name
2008-01-01 08:30:39
Hi all,

With this one, the fix is not obvious to me...

Possibly related to the mercurial plugin (I don't have any
svn
repositories so I can't
test), resync doesn't seem to be working correctly...

Osaka:/srv/www/htdocs/trac # trac-admin /srv/www/htdocs/trac
resync
Resyncing repository history...
Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 8, in
<module>
    load_entry_point('Trac==0.11b1', 'console_scripts',
'trac-admin')
()
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/admin/console.py", line 1194, in run
    return admin.onecmd(command)
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/admin/console.py", line 102, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.5/cmd.py", line 219, in
onecmd
    return func(arg)
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/admin/console.py", line 629, in do_resync
    repos =
env.get_repository().sync(self._resync_feedback)
TypeError: sync() takes exactly 1 argument (2 given)
Osaka:/srv/www/htdocs/trac # trac-admin /srv/www/htdocs/trac
resync
6452
Traceback (most recent call last):
  File "/usr/local/bin/trac-admin", line 8, in
<module>
    load_entry_point('Trac==0.11b1', 'console_scripts',
'trac-admin')
()
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/admin/console.py", line 1194, in run
    return admin.onecmd(command)
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/admin/console.py", line 102, in onecmd
    rv = cmd.Cmd.onecmd(self, line) or 0
  File "/usr/lib/python2.5/cmd.py", line 219, in
onecmd
    return func(arg)
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/admin/console.py", line 615, in do_resync
    env.get_repository().sync_changeset(rev)
  File
"/usr/local/lib/python2.5/site-packages/Trac-0.11b1-py2
.5.egg/
trac/versioncontrol/api.py", line 205, in
sync_changeset
    raise NotImplementedError
NotImplementedError
Osaka:/srv/www/htdocs/trac #

Thanks to the developers of Trac... the install was quite
smooth.
Nice, simple to use tool 
Cheers,
J.


On Jan 1, 10:25 pm, "djeffdio...gmail.com"
<djeffdio...gmail.com>
wrote:
> The plugin doesn't load in 0.11b1 because of a version
conflict,
> resulting in "Warning: Can't synchronize with the
repository"...  This
> changes the version number.
>
> Cheers,
> J.
>
> diff -ur mercurial-plugin-0.11/tracext/hg/backend.py
mercurial-
> plugin-0.11b1/tracext/hg/backend.py
> --- mercurial-plugin-0.11/tracext/hg/backend.py
2008-01-02
> 05:57:07.000000000 +0900
> +++ mercurial-plugin-0.11b1/tracext/hg/backend.py      
2008-01-02
> 06:45:48.469314813 +0900
>  -16,7 +16,7 
>  import re
>
>  import pkg_resources
> -pkg_resources.require('Trac>=0.11dev')
> +pkg_resources.require('Trac>=0.11b1')
>
>  from genshi.builder import tag

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Trac Development" group.
To post to this group, send email to trac-devgooglegroups.com
To unsubscribe from this group, send email to
trac-dev-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )