[svnbook commit] r1464 - trunk/src/nb

sunny256 svnbook-dev at red-bean.com
Fri Jun 17 12:49:01 CDT 2005


Author: sunny256
Date: Fri Jun 17 12:48:59 2005
New Revision: 1464

Modified:
   trunk/src/nb/Makefile
Log:
Makefile tweaks in the Norwegian svnbook.

* src/nb/Makefile
  (sync): Suppress some noise and strip away potential "M" characters 
    before the revision number is written to HEADREV. Makes it possible 
    to sync into modified working copies.


Modified: trunk/src/nb/Makefile
==============================================================================
--- trunk/src/nb/Makefile	(original)
+++ trunk/src/nb/Makefile	Fri Jun 17 12:48:59 2005
@@ -74,8 +74,8 @@
 	@echo ======== END svn status ========
 	@echo If there are no local changes, press ENTER...
 	@read
-	if [ "$(HEAD)" = "" ]; then \
-		svnversion . >HEADREV; \
+	@if [ "$(HEAD)" = "" ]; then \
+		svnversion . | tr -d M >HEADREV; \
 	else \
 		echo $(HEAD) >HEADREV; \
 		echo "Note: Merging up to r$(HEAD) instead of actual repository HEAD"; \



More information about the svnbook-dev mailing list