--- a/trunk/cforge/cforge/Package/CFORGE/Scripts/update.py
+++ b/trunk/cforge/cforge/Package/CFORGE/Scripts/update.py
@@ -1,7 +1,7 @@
 import sys, os
 import cds_script
 import ui
-
+import ntpath
 
 # This is a cforge command (script file)
 # this will be run as ironpython script.
@@ -23,6 +23,14 @@
     sys.exit()
 
 folder = sys.argv[1]
+# if folder can't be found, try to interpret it as a repo
+# name, relatively to the workspace folder
+if not os.path.isdir(folder):
+    config = ui.GetSettings()
+    workspace, file = ntpath.split(config['folder'])
+    folder = os.path.join(workspace, folder)
+
+print("updating folder: %s" % folder)
 config = ui.Dialog("Update", Credentials=True)
 
 if config != None: