diff --git a/nashorn/.hgignore b/nashorn/.hgignore
index 6cfabad507b..02ec40d7e8d 100644
--- a/nashorn/.hgignore
+++ b/nashorn/.hgignore
@@ -6,8 +6,7 @@ dist/*
 /nbproject/private/
 private.xml
 private.properties
-webrev/*
-webrev.zip
+^webrev
 .classpath
 *.class
 *.clazz