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.
Sometimes I want to see what changes have come into the repository as a whole, not for a specific project, directory or file. But if I try Versioning->Mercurial->Show History without having a selected project I get an error: ERROR Command failed: Command: [/usr/local/bin/hg, -v, log, --follow, --repository, /Users/David/code/netbeans/trunk/main, --debug, --date, 2008-06-10 to 2008-06-17, --template=rev:{rev}\nauth:{author}\ndesc:{desc}\ndate:{date|hgdate}\nid:{node|short}\nparents:{parents}\nfile_mods:{files}\nfile_adds:{file_adds}\nfile_dels:{file_dels}\nfile_copies:{file_copies}\nendCS:\n, /Users/David/code/netbeans/trunk/main/db.mysql/nbproject/private/private.properties] Output: [abort: can only follow copies/renames for explicit file names]
Oh, I see, it's trying to do history on the currently open file (private.properties in my case). But when I close all documents and try it, Show History is disabled. How do I see history for the entire repository in NetBeans, rather than for a specific file?
> How do I see history for the entire repository in NetBeans, rather than for a specific file? mount the relevant folder in favorites > ... if I try Versioning->Mercurial->Show History without having a selected project The menu items in versioning>Mercurial should be enabled for the current selection so if there is nothing selected you shouldn't be able to invoke 'show history' and what troubles me even more is that the reported error appears when the given command is called for a not existing file. Strange. Do you remember what you have done before 'show history' and what exactly did you have selected - nothing or the ...nbproject/private/private.properties file? what build do you use? thanks
hi, any update on this?
Hi, thanks for pinging me. I am sorry, I have been very busy. First of all, I have no idea what to do to "mount the relevant folder in favorites" - I think you are talking about a feature in NB that I was not aware of. In terms of your questions: - Do you remember what you have done before 'show history' I just opened NB, and it opened files from a previous session, and for whatever reason private.properties was the focused file. - and what exactly did you have selected - nothing or the ...nbproject/private/private.properties file? I didn't select anything, just went straight to the Versioning top-level menu - what build do you use? I was using a build out of my sandbox, from a pull of no more than a week ago.
> First of all, I have no idea what to do to "mount the relevant folder in favorites" - open the "favorites view" - window > favorites - right click the into the opened view and choose "Add to favorites" - navigate to the folder of you choice - the netbeans main dir in our case - all relevant VCS actions should be available for that folder > I just opened NB, and it opened files from a previous session, and for whatever reason private.properties was the focused file. i see thanks
could reproduce the private.properties file from nbproject/private doesn't have the status ignored - hence various actions are enabled which shouldn't be. Running the log command for an unversioned file causes the reported error. seems to be related to #127392
calling hisotry for unverioned files doesn't make sense at all. downgrading to p4
I agree, but the error message is very confusing. Please at least fix the error message so the user has a clue what he's doing wrong. Better yet, *disable* history on a file that is not being managed by the SCM.
> Better yet, *disable* history on a file that is not being managed by the SCM. agree. this is way this issue is still open...