Opened 15 years ago
Last modified 15 months ago
#8700 new defect
patch for trac-svn-post-commit-hook.cmd
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | next-stable-1.6.x |
Component: | version control | Version: | devel |
Severity: | normal | Keywords: | patch multirepos windows |
Cc: | Christian Boos | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
With last Multirepos branch, you need to specify just the repository's name instead full repository path; otherwise trac-admin will not resync.
The patch in attach correct this problem and clarifies the usage of batch files.
The batch file is tested on Win Xp.
Thanks you. Federico [at] Briata [dot] Org
Attachments (2)
Change History (14)
by , 15 years ago
Attachment: | argument-fix_trac-svn-post-commit-hook_cmd.patch added |
---|
comment:1 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
shouldn't this remain as not closed until it's integrated into the source code?
by , 15 years ago
Attachment: | argument-fix_trac-svn-post-commit-hook_cmd.2.patch added |
---|
added @ECHO OFF for post-commit.bat
comment:3 by , 15 years ago
can be convegnent modify the step 10 of /wiki/MultipleRepositorySupport to point to this patch?
In attach a new patch with @ECHO OFF for post-commit.bat, this one replace the 1st one.
comment:4 by , 15 years ago
Component: | general → version control |
---|---|
Keywords: | windows added; xp removed |
Milestone: | 0.12 → 0.12-multirepos |
Thanks for the patches, I'll look at them.
comment:5 by , 15 years ago
Milestone: | 0.12-multirepos → 0.12 |
---|
Replying to federico.briata@…:
With last Multirepos branch, you need to specify just the repository's name instead full repository path; otherwise trac-admin will not resync.
This is no longer true, the full path can be given again.
I'll eventually finish the trunk/contrib/trac-svn-post-commit-hook.cmdand then rename it to trunk/contrib/trac-svn-hook.cmd), to mimic trunk/contrib/trac-svn-hook, but this is not high priority, given a simple call to trac-admin can be directly added to the post-commit.bat and post-revprop-change.bat hooks (see 0.12/TracRepositoryAdmin).
comment:6 by , 15 years ago
Milestone: | 0.12 → next-minor-0.12.x |
---|
Not high priority, as explained above.
comment:8 by , 10 years ago
Milestone: | next-minor-0.12.x → next-stable-1.0.x |
---|
Moving forward since it doesn't seem necessary to fix this for 0.12-stable. Please comment if you feel otherwise.
comment:9 by , 10 years ago
comment:10 by , 9 years ago
Keywords: | patch added |
---|
comment:11 by , 8 years ago
Milestone: | next-stable-1.0.x → next-stable-1.2.x |
---|
Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.
comment:12 by , 5 years ago
Milestone: | next-stable-1.2.x → next-stable-1.4.x |
---|---|
Status: | reopened → new |
I forgot to say that post-commit.bat is extracting the Repository Name (last Folder) from the full path provided by Subversion after a commit.