Modify ↓
#7987 closed defect (fixed)
Backport of r7353 into mercurial plugin for trac 0.10.x
Reported by: | Owned by: | shunichi.goto | |
---|---|---|---|
Priority: | normal | Milestone: | not applicable |
Component: | plugin/mercurial | Version: | 0.10-stable |
Severity: | normal | Keywords: | helpwanted |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
There is a same problem resolved by r7353 in mercurial plugin
for trac 0.10.x (sandbox/mercurial-plugin
).
I'm grad to fix it:
-
tracvc/hg/backend.py
diff -r b17fc805e7d7 tracvc/hg/backend.py
a b 529 529 if self.mflags: # Mercurial upto 9.1 530 530 exe = self.mflags[self.path] 531 531 else: # assume Mercurial version >= [abd9a05fca0b] 532 exe = self.manifest.execf(self.path)532 exe = 'x' in self.manifest.flags(self.path) 533 533 return exe and {'exe': '*'} or {} 534 534 return {} 535 535 # FIXME++: implement pset/pget/plist etc. in hg
Attachments (1)
Change History (5)
comment:1 by , 16 years ago
Keywords: | helpwanted added |
---|---|
Milestone: | → not applicable |
comment:2 by , 16 years ago
Sure.
Ok, I've made the new patch, attached.
And it also include another fix for API change revlog.linkrev()
(#7981).
I've played with mercurial 1.0, 1.0.1, 1.1 and tip on main, and tip on crew.
by , 16 years ago
Attachment: | issue7987-support_recent_hg.patch added |
---|
patch for trac 0.10.5 with recent and old mercurials.
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Patch applied in r7950, thanks!
comment:4 by , 16 years ago
Owner: | changed from | to
---|
Note:
See TracTickets
for help on using tickets.
Can you do the fix in the
hasattr()
style of r7353? I'm afraid to lose compatibility with older versions (people still using TracMercurial for Trac 0.10 are more likely to old mercurial versions as well).