This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 53718
Collapse All | Expand All

(-)libsrc/org/netbeans/lib/cvsclient/command/log/LogCommand.java (-1 / +30 lines)
Lines 69-74 Link Here
69
    private String dateFilter;
69
    private String dateFilter;
70
70
71
    /**
71
    /**
72
     * Holds value of property suppressHeader.
73
     */
74
    private boolean suppressHeader;
75
76
    /**
72
     * Holds value of property headerOnly.
77
     * Holds value of property headerOnly.
73
     */
78
     */
74
    private boolean headerOnly;
79
    private boolean headerOnly;
Lines 138-143 Link Here
138
            if (headerOnly) {
143
            if (headerOnly) {
139
                requests.add(1, new ArgumentRequest("-h")); //NOI18N
144
                requests.add(1, new ArgumentRequest("-h")); //NOI18N
140
            }
145
            }
146
            if (suppressHeader) {
147
            	 requests.add(1, new ArgumentRequest("-S")); //NOI18IN
148
            }
141
            if (noTags) {
149
            if (noTags) {
142
                requests.add(1, new ArgumentRequest("-N")); //NOI18N
150
                requests.add(1, new ArgumentRequest("-N")); //NOI18N
143
            }
151
            }
Lines 230-235 Link Here
230
        this.headerOnly = headerOnly;
238
        this.headerOnly = headerOnly;
231
    }
239
    }
232
240
241
    /** Getter for property suppressHeader, equals the command-line CVS switch "-S".
242
     * @return Value of property suppressHeader.
243
     */
244
    public boolean isSuppressHeader() {
245
        return suppressHeader;
246
    }
247
248
    /** Setter for property headerOnly, equals the command-line CVS switch "-S".
249
     * @param suppressHeader New value of property suppressHeader.
250
     */
251
    public void setSuppressHeader(boolean suppressHeader) {
252
        this.suppressHeader = suppressHeader;
253
    }
254
233
    /** Getter for property noTags, equals the command-line CVS switch "-N".
255
    /** Getter for property noTags, equals the command-line CVS switch "-N".
234
     * @return Value of property noTags.
256
     * @return Value of property noTags.
235
     */
257
     */
Lines 339-344 Link Here
339
        else if (opt == 't') {
361
        else if (opt == 't') {
340
            setHeaderAndDescOnly(true);
362
            setHeaderAndDescOnly(true);
341
        }
363
        }
364
        else if (opt == 'S') {
365
            setSuppressHeader(true);
366
        }
342
        else if (opt == 'N') {
367
        else if (opt == 'N') {
343
            setNoTags(true);
368
            setNoTags(true);
344
        }
369
        }
Lines 366-371 Link Here
366
        setDefaultBranch(false);
391
        setDefaultBranch(false);
367
        setHeaderOnly(false);
392
        setHeaderOnly(false);
368
        setHeaderAndDescOnly(false);
393
        setHeaderAndDescOnly(false);
394
        setSuppressHeader(false);
369
        setNoTags(false);
395
        setNoTags(false);
370
        setDateFilter(null);
396
        setDateFilter(null);
371
        setRevisionFilter(null);
397
        setRevisionFilter(null);
Lines 377-383 Link Here
377
     * String returned by this method defines which options are available for this particular command
403
     * String returned by this method defines which options are available for this particular command
378
     */
404
     */
379
    public String getOptString() {
405
    public String getOptString() {
380
        return "RlbhtNd:r:s:w:"; //NOI18N4
406
        return "RlbhStNd:r:s:w:"; //NOI18N4
381
    }
407
    }
382
408
383
    /**
409
    /**
Lines 394-399 Link Here
394
        }
420
        }
395
        if (isHeaderOnly()) {
421
        if (isHeaderOnly()) {
396
            toReturn.append("-h "); //NOI18N
422
            toReturn.append("-h "); //NOI18N
423
        }
424
        if (isSuppressHeader()) {
425
            toReturn.append("-S "); //NOI18N
397
        }
426
        }
398
        if (isNoTags()) {
427
        if (isNoTags()) {
399
            toReturn.append("-N "); //NOI18N
428
            toReturn.append("-N "); //NOI18N
(-)libsrc/org/netbeans/lib/cvsclient/command/BasicCommand.java (+1 lines)
Lines 174-179 Link Here
174
     * @param ending - the ending part of the file's pathname.. path separator is cvs's default '/'
174
     * @param ending - the ending part of the file's pathname.. path separator is cvs's default '/'
175
     */
175
     */
176
    public File getFileEndingWith(String ending) {
176
    public File getFileEndingWith(String ending) {
177
        if (files == null) return null;
177
        String locEnding = ending.replace('\\', '/');
178
        String locEnding = ending.replace('\\', '/');
178
        String localDir = getLocalDirectory().replace('\\','/');
179
        String localDir = getLocalDirectory().replace('\\','/');
179
        int index = 0;
180
        int index = 0;

Return to bug 53718