From 9d3952ab10f8677fdabc8594d26cc1e7d6acdfc4 Mon Sep 17 00:00:00 2001 From: Vladimir Kotal Date: Mon, 22 Feb 2010 19:28:08 +0100 Subject: 6928402 add a section to webrev(1) about remote webrev deletion 6928313 webrev -Uo foo/ may upload to a destination one path element too high 6928394 webrev fails to create nested remote directories --- usr/src/tools/scripts/webrev.1 | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) (limited to 'usr/src/tools/scripts/webrev.1') diff --git a/usr/src/tools/scripts/webrev.1 b/usr/src/tools/scripts/webrev.1 index 9832914fbe..e83acd80f8 100644 --- a/usr/src/tools/scripts/webrev.1 +++ b/usr/src/tools/scripts/webrev.1 @@ -18,11 +18,11 @@ .\" .\" CDDL HEADER END .\" -.\" Copyright 2009 Sun Microsystems, Inc. All rights reserved. +.\" Copyright 2010 Sun Microsystems, Inc. All rights reserved. .\" Use is subject to license terms. .\" .\" -.TH webrev 1 "24 Mar 2009" +.TH webrev 1 "22 Feb 2010" .SH NAME webrev \- Generate HTML codereview materials .SH SYNOPSIS @@ -433,6 +433,27 @@ for example: User vkotal .fi +.SH DELETING WEBREVS +When deleting a webrev directory on remote site which has a different name +than the basename of local repository it is necessary to specify the output +option: +.IP +.nf +\f(CW$ webrev -Do webrev-foo.onnv +.fi +.PP +Otherwise \fBwebrev\fR will attempt to remove remote directory with the same +name as basename of the local repository. +.PP +For the nested directory case it is necessary to specify the full target: +.IP +.nf +\f(CW$ webrev -D -t \\ + ssh://user@cr.opensolaris.org:foo/bar/bugfix.onnv +.fi +.PP +This will remove just the \fIbugfix.onnv\fR directory. + .SH SEE ALSO .BR putback "(1)," .BR workspace "(1)," -- cgit v1.2.3