[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Fix relative path in the pot/po files

From: Dongsheng Song <dongsheng.song_at_gmail.com>
Date: 2007-11-07 09:29:09 CET

Hi,

This patch fix relative path in the pot/po files, so tools like poEdit
can view message source.

[[[
[cauchy@foresee ~/wc/svn/subversion/tools/po]$ svn diff
Index: po-update.sh
===================================================================
--- po-update.sh (revision 27648)
+++ po-update.sh (working copy)
@@ -30,8 +30,8 @@
 {
   if [ -z "$pot_done" ]; then
     echo "Building subversion.pot..."
- (cd $svn_base/subversion/ && \
- find . \
+ (cd $svn_base/subversion/po && \
+ find .. \
     -name .svn -prune -or \
     -name tests -prune -or \
     -name bindings -prune -or \
@@ -55,7 +55,7 @@
     --flag=do_io_file_wrapper_cleanup:3:c-format \
     --flag=do_io_file_wrapper_cleanup:4:c-format \
     --msgid-bugs-address=dev@subversion.tigris.org \
- --add-comments --files-from=- -o po/subversion.pot )
+ --add-comments --files-from=- -o subversion.pot )
     pot_done=1
   fi
 }
]]]

Can I commit?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Nov 7 09:29:22 2007

This is an archived mail posted to the Subversion Dev mailing list.