From 07b9c6fe2968726b5986f7f8711868dac87cb3a7 Mon Sep 17 00:00:00 2001 From: Rodrigo Queiro Date: Tue, 5 Dec 2017 01:10:53 -0800 Subject: Fix docs for repository_name Fixes #3573 Closes #3574. PiperOrigin-RevId: 177925152 --- .../com/google/devtools/build/lib/packages/SkylarkNativeModule.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/main/java/com/google/devtools/build/lib/packages') diff --git a/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java b/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java index c3e7a6c4a5..a400782c05 100644 --- a/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java +++ b/src/main/java/com/google/devtools/build/lib/packages/SkylarkNativeModule.java @@ -229,8 +229,9 @@ public class SkylarkNativeModule { "The name of the repository the rule or build extension is called from. " + "For example, in packages that are called into existence by the WORKSPACE stanza " + "local_repository(name='local', path=...) it will be set to " - + "@local. In packages in the main repository, it will be empty. This " - + "function is equivalent to the deprecated variable REPOSITORY_NAME.", + + "@local. In packages in the main repository, it will be set to " + + "@. This function is equivalent to the deprecated variable " + + "REPOSITORY_NAME.", parameters = {}, useAst = true, useEnvironment = true -- cgit v1.2.3