Index: /trunk/Config.kmk
===================================================================
--- /trunk/Config.kmk	(revision 45494)
+++ /trunk/Config.kmk	(revision 45495)
@@ -5315,6 +5315,7 @@
 #
 # The VBOX_SVN_REV contains our best guess.  Use svn info on the root of the
-# tree to determin this it if .svn/entries is found, otherwise fall back on
-# the Config.kmk revision.
+# tree to determine this it if .svn/wc.db or .svn/entries is found (the former
+# also up to two directory levels higher to allow for checkouts of the entire
+# repository), otherwise fall back on the Config.kmk revision.
 #
 # Makefile rules using this information shall list $(VBOX_SVN_REV_KMK) as a
@@ -5325,5 +5326,5 @@
 ifndef VBOX_SVN_REV
  VBOX_SVN_REV_FALLBACK := $(patsubst %:,,  $Rev$  )
- VBOX_SVN_DEP          := $(wildcard $(PATH_ROOT)/.svn/entries)
+ VBOX_SVN_DEP          := $(firstword $(wildcard $(PATH_ROOT)/.svn/wc.db $(abspath $(PATH_ROOT)/../.svn/wc.db) $(abspath $(PATH_ROOT)/../../.svn/wc.db) $(PATH_ROOT)/.svn/entries))
  ifeq ($(which $(SVN)),)
   VBOX_SVN_DEP         :=
